You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
137 lines
3.1 KiB
137 lines
3.1 KiB
10 years ago
|
---
|
||
|
# Only the main Sass file needs front matter (the dashes are enough)
|
||
|
---
|
||
|
@charset "utf-8";
|
||
|
|
||
|
|
||
|
|
||
|
// Our variables
|
||
|
$base-font-family: Helvetica, Arial, sans-serif;
|
||
|
$base-font-size: 16px;
|
||
|
$small-font-size: $base-font-size * 0.875;
|
||
|
$base-line-height: 1.5;
|
||
|
|
||
|
$spacing-unit: 30px;
|
||
|
|
||
|
$text-color: #111;
|
||
|
$background-color: #fdfdfd;
|
||
|
$brand-color: #2a7ae2;
|
||
|
|
||
|
$grey-color: #828282;
|
||
|
$grey-color-light: lighten($grey-color, 40%);
|
||
|
$grey-color-dark: darken($grey-color, 25%);
|
||
|
|
||
|
// Width of the content area
|
||
|
$content-width: 800px;
|
||
|
|
||
|
$on-palm: 600px;
|
||
|
$on-laptop: 800px;
|
||
|
|
||
|
|
||
|
form#cse-search-box {
|
||
|
display: inline;
|
||
|
}
|
||
|
|
||
|
form#cse-search-box input {
|
||
|
font-size: $base-font-size;
|
||
|
font-family: $base-font-family;
|
||
|
color: $brand-color;
|
||
|
max-width:200px;
|
||
|
border-bottom-color: $grey-color-light;
|
||
|
border-bottom-left-radius: 0px;
|
||
|
border-bottom-right-radius: 0px;
|
||
|
border-bottom-style: solid;
|
||
|
border-bottom-width: 1px;
|
||
|
border-collapse: collapse;
|
||
|
border-image-outset: 0 0 0 0;
|
||
|
border-image-repeat: stretch stretch;
|
||
|
border-image-slice: 100% 100% 100% 100%;
|
||
|
border-image-source: none;
|
||
|
border-image-width: 1 1 1 1;
|
||
|
border-left-color: rgb(85, 85, 85);
|
||
|
border-left-style: none;
|
||
|
border-left-width: 0px;
|
||
|
border-right-color: rgb(85, 85, 85);
|
||
|
border-right-style: none;
|
||
|
border-right-width: 0px;
|
||
|
border-spacing: 0px 0px;
|
||
|
border-top-color: rgb(85, 85, 85);
|
||
|
border-top-left-radius: 0px;
|
||
|
border-top-right-radius: 0px;
|
||
|
border-top-style: none;
|
||
|
border-top-width: 0px;
|
||
|
box-shadow: rgba(0, 0, 0, 0.075) 0px 0px 0px 0px inset;
|
||
|
margin: 0px;
|
||
|
padding: 4px 6px;
|
||
|
text-align: start;
|
||
|
transition-delay: 0s, 0s;
|
||
|
transition-duration: 0.2s, 0.2s;
|
||
|
transition-property: border, box-shadow;
|
||
|
transition-timing-function: cubic-bezier(0, 0, 1, 1), cubic-bezier(0, 0, 1, 1);
|
||
|
vertical-align: middle;
|
||
|
-moz-border-bottom-colors: none;
|
||
|
-moz-border-left-colors: none;
|
||
|
-moz-border-right-colors: none;
|
||
|
-moz-border-top-colors: none;
|
||
|
}
|
||
|
|
||
|
ul.post-list>li {
|
||
|
display: block;
|
||
|
padding-top: 1em;
|
||
|
padding-bottom: 1em;
|
||
|
border-bottom: 1px solid $grey-color-light;
|
||
|
}
|
||
|
|
||
|
ul.tag_box {
|
||
|
list-style: none;
|
||
|
}
|
||
|
|
||
|
ul.tag_box>li {
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
span.label-success {
|
||
|
background-color: $grey-color-light;
|
||
|
}
|
||
|
|
||
|
span.label-success a, span.label-success a:hover {
|
||
|
color: $text-color;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
span.label {
|
||
|
display: inline;
|
||
|
padding: 0.2em 0.6em 0.3em;
|
||
|
font-size: 75%;
|
||
|
font-weight: 700;
|
||
|
line-height: 1;
|
||
|
color: $text-color;
|
||
|
text-align: center;
|
||
|
white-space: nowrap;
|
||
|
vertical-align: baseline;
|
||
|
border-radius: 0.25em;
|
||
|
}
|
||
|
|
||
|
|
||
|
// Using media queries with like this:
|
||
|
// @include media-query($on-palm) {
|
||
|
// .wrapper {
|
||
|
// padding-right: $spacing-unit / 2;
|
||
|
// padding-left: $spacing-unit / 2;
|
||
|
// }
|
||
|
// }
|
||
|
@mixin media-query($device) {
|
||
|
@media screen and (max-width: $device) {
|
||
|
@content;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
// Import partials from `sass_dir` (defaults to `_sass`)
|
||
|
@import
|
||
|
"base",
|
||
|
"layout",
|
||
|
"syntax-highlighting"
|
||
|
;
|