net/_sass/_style.scss

155 lines
3.8 KiB
SCSS
Raw Normal View History

2013-11-10 12:47:03 -05:00
body {
2015-02-11 23:35:29 -05:00
color: $base-font-color;
2013-11-10 12:47:03 -05:00
background: #ffffff;
font-family: $serif;
a { text-decoration: none; }
2013-11-19 14:33:35 -05:00
img.left {
float: left;
margin: 0 1em 1em 0;
}
2015-02-06 10:53:04 -05:00
2013-11-19 14:33:35 -05:00
img.right {
float: right;
margin: 0 0 1em 1em;
}
2013-11-10 12:47:03 -05:00
.container {
2014-10-06 22:27:20 -04:00
@include outer-container;
2013-11-10 12:47:03 -05:00
#header {
header {
2014-10-06 22:27:20 -04:00
@include span-columns(2);
2013-11-10 12:47:03 -05:00
h1 {
a {
2015-02-06 10:53:04 -05:00
font-family: $typewriter;
2013-11-10 12:47:03 -05:00
color: #343434;
}
}
2014-10-06 22:27:20 -04:00
@include media($mobile) {
@include span-columns(4);
}
2013-11-10 12:47:03 -05:00
}
nav {
text-transform: uppercase;
2014-10-06 22:27:20 -04:00
line-height: 3em;
@include span-columns(6);
2013-11-10 12:47:03 -05:00
ul.navigation {
2014-10-06 22:27:20 -04:00
border-left: 1px solid #dedede;
padding-left: 1em;
2015-02-06 10:53:04 -05:00
2013-11-10 12:47:03 -05:00
li {
display: inline;
list-style-type: none;
padding: 0 1em 0 0;
2015-02-06 10:53:04 -05:00
2013-11-10 12:47:03 -05:00
a {
color: #303030;
}
}
}
2014-10-06 22:27:20 -04:00
@include media($mobile) {
@include span-columns(4);
line-height: 1em;
ul.navigation {
border-left: 4px solid #dedede;
padding-left: 0.5em;
}
}
2013-11-10 12:47:03 -05:00
}
}
#main {
clear: both;
padding: 1em 0;
border-top: 1px solid #dedede;
article.hentry {
border-bottom: 1px #dedede solid;
2015-02-11 23:35:29 -05:00
header time {
color: transparentize($base-font-color, .6);
font-size: 0.9em;
font-style: italic;
margin-bottom: 0.3em;
}
h1 {
font-size: 1.6em;
margin-bottom: 0.5em;
}
2013-11-10 12:47:03 -05:00
pre {
2015-02-11 23:35:29 -05:00
padding: 0.5em;
overflow: auto;
2013-11-10 12:47:03 -05:00
}
2015-02-11 23:35:29 -05:00
code {
background: #F7F7F7;
border-radius: $base-border-radius * 1.5;
border: 1px solid #E0E0E0;
font-family: monaco;
font-size: 0.75em;
font-style: normal;
padding: 0.1em 0.4em;
white-space: nowrap;
2013-11-10 12:47:03 -05:00
}
2015-03-05 14:30:55 -05:00
.feature-image {
width: 100%;
height: 200px;
background-size: cover;
background-position: center;
}
2015-02-11 23:35:29 -05:00
footer {
font-size: 0.8em;
2013-11-10 12:47:03 -05:00
}
2015-02-11 23:35:29 -05:00
}
2013-11-10 12:47:03 -05:00
2015-02-11 23:35:29 -05:00
article {
.gist-file pre {
color: #000;
}
2013-11-10 12:47:03 -05:00
}
2015-02-06 10:53:04 -05:00
2013-11-10 12:47:03 -05:00
article.list {
clear: both;
border-bottom: 1px solid #dedede;
line-height: 2;
2015-02-06 10:53:04 -05:00
time {
2014-10-06 22:27:20 -04:00
display: block;
float: left;
width: 8em;
color: #696969;
2013-11-10 12:47:03 -05:00
}
2014-10-06 22:27:20 -04:00
@include media($mobile) {
time {
display: none;
}
}
2015-02-06 10:53:04 -05:00
2013-11-10 12:47:03 -05:00
}
.vcard {
padding: 10px 0;
margin: 1em 0 0 0;
clear: both;
2015-02-06 10:53:04 -05:00
2013-11-10 12:47:03 -05:00
p {
margin: 0 0 0.5em 0;
}
img {
float: left;
margin: 0 0.5em 0 0;
border: 1px #dedede solid;
padding: 3px;
}
}
}
}
}