Demo entry 6348036

css

   

Submitted by Alan on Feb 18, 2017 at 13:55
Language: CSS. Code size: 3.3 kB.

/* Type Reset */
html,
body {
  box-sizing: border-box; }

*,
*::before,
*::after {
  box-sizing: inherit; }

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-weight: normal; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

/* global and helper style  */
body {
  font-size: 0.8em;
  font-family: "Open Sans", sans-serif; }

body > header,
body > footer {
  width: 100%;
  color: ffffff;
  background-color: #1d1d1d; }

/* Helpers */
.container {
  width: 100%;
  max-width: 920px;
  margin: 0 auto; }

.text-center {
  text-align: center; }

/* header style */
body > header {
  border-bottom: 6px solid #fe5555;
  margin-bottom: 2em;
  line-height: 60px; }

.header-inner {
  padding: 0;
  margin: 0; }

.logo-wrap {
  float: left; }

.logo-text {
  color: #ff6565;
  font-size: 2em; }

.logo-text-strong {
  font-weight: bold;
  color: #ffffff; }

.header-nav {
  float: right; }
  .header-nav .list {
    display: inline; }
  .header-nav .list-item {
    list-style-type: none;
    display: inline-block; }
  .header-nav .list-link {
    display: inline-block;
    text-decoration: none;
    color: #FFFFFF;
    margin: 0;
    padding: 5px 15px; }

.header-inner:after {
  clear: both;
  content: " ";
  display: table; }

/* main style */
body > main {
  width: 100%;
  min-height: calc(100vh - 80px);
  color: #1D1D1D;
  background-color: #FFFFFF; }

.sidebar {
  width: 20%;
  float: left;
  background-color: #666666; }

.content {
  width: 80%;
  float: left;
  background-color: #999999; }

.sidebar-nav .list {
  display: block; }
.sidebar-nav .list-item {
  list-style-type: none;
  display: block; }
.sidebar-nav .list-link {
  display: inline-block;
  text-decoration: none;
  color: #FFFFFF; }

.hero {
  width: 100%; }
  .hero h1 {
    font-size: 3em;
    margin: 2em 0; }

.section.row {
  width: 100%; }

.blog {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; }

.post {
  width: 48%;
  border: 1px solid #333333;
  margin-bottom: 1em; }
  .post .post-heading,
  .post .post-footer {
    color: #1D1D1D;
    background-color: #FFFFFF; }
  .post .post-heading {
    margin-bottom: 1em; }
  .post .post-footer {
    margin-top: 1em; }

/* footer style */
#footer {
  padding: 1em; }

/*# sourceMappingURL=main.css.map */

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).