net/_sass/_style.scss

130 lines
3.1 KiB
SCSS

body {
color: #343434;
background: #ffffff;
font-family: $serif;
a { text-decoration: none; }
img.left {
float: left;
margin: 0 1em 1em 0;
}
img.right {
float: right;
margin: 0 0 1em 1em;
}
.container {
@include outer-container;
#header {
header {
@include span-columns(2);
h1 {
a {
font-family: $typewriter;
color: #343434;
}
}
@include media($mobile) {
@include span-columns(4);
}
}
nav {
text-transform: uppercase;
line-height: 3em;
@include span-columns(6);
ul.navigation {
border-left: 1px solid #dedede;
padding-left: 1em;
li {
display: inline;
list-style-type: none;
padding: 0 1em 0 0;
a {
color: #303030;
}
}
}
@include media($mobile) {
@include span-columns(4);
line-height: 1em;
ul.navigation {
border-left: 4px solid #dedede;
padding-left: 0.5em;
}
}
}
}
#main {
clear: both;
padding: 1em 0;
border-top: 1px solid #dedede;
article.hentry {
border-bottom: 1px #dedede solid;
}
article {
pre {
background: #000;
color: #fff;
padding: 0.5em;
overflow: auto;
}
.gist-file pre {
color: #000;
}
footer time {
margin-bottom: 1em;
display: block;
text-align: right;
}
}
article.list {
clear: both;
border-bottom: 1px solid #dedede;
line-height: 2;
time {
display: block;
float: left;
width: 8em;
color: #696969;
}
@include media($mobile) {
time {
display: none;
}
}
}
.vcard {
padding: 10px 0;
margin: 1em 0 0 0;
clear: both;
p {
margin: 0 0 0.5em 0;
}
img {
float: left;
margin: 0 0.5em 0 0;
border: 1px #dedede solid;
padding: 3px;
}
}
}
}
}