Update to site

This commit is contained in:
Paulus Schoutsen 2014-12-21 12:17:37 -08:00
parent 3345fa5897
commit b0bdfe2fe9
244 changed files with 11618 additions and 12 deletions

49
sass/custom/_colors.scss Normal file
View file

@ -0,0 +1,49 @@
// Here you can easily change your sites's color scheme.
// To give it a try, uncomment some of the lines below rebuild your blog, and see how it works.
// If you need a handy color picker try http://hslpicker.com
$header-bg: #fff;
//$subtitle-color: lighten($header-bg, 58);
$nav-bg: #fff;
$nav-bg-front: none;
$nav-bg-back: #fff;
//$sidebar-bg: desaturate(#eceff5, 8);
//$sidebar-link-color: saturate(#526f9a, 10);
//$sidebar-link-color-hover: darken(#7ab662, 9);
$footer-bg: #fff;
$footer-bg-front: #fff;
$footer-bg-back: #fff;
/* To use the light Solarized highlighting theme uncomment the following line */
//$solarized: light;
/* If you want to tweak the Solarized colors you can do that here */
//$base03: #002b36; //darkest blue
//$base02: #073642; //dark blue
//$base01: #586e75; //darkest gray
//$base00: #657b83; //dark gray
//$base0: #839496; //medium gray
//$base1: #93a1a1; //medium light gray
//$base2: #eee8d5; //cream
//$base3: #fdf6e3; //white
//$solar-yellow: #b58900;
//$solar-orange: #cb4b16;
//$solar-red: #dc322f;
//$solar-magenta: #d33682;
//$solar-violet: #6c71c4;
//$solar-blue: #268bd2;
//$solar-cyan: #2aa198;
//$solar-green: #859900;
/* Non highlighted code colors */
//$pre-bg: $base03;
//$pre-border: darken($base02, 5);
//$pre-color: $base1;
$main-bg: #fff;
$page-bg: #fff;
$link-color: #268bd2;
$nav-color: $link-color;
$link-color-visited:darken($nav-color, 25);
$title-color: $link-color;

10
sass/custom/_fonts.scss Normal file
View file

@ -0,0 +1,10 @@
// Here you can easily change font faces which are used in your site.
// To give it a try, uncomment some of the lines below rebuild your blog, and see how it works. your sites's.
// If you love to use Web Fonts, you also need to add some lines to source/_includes/custom/head.html
$sans: "Open Sans", sans-serif;
$serif: "Noto Serif", serif;
//$mono: "Courier", monospace;
$heading-font-family: $sans;
//$header-title-font-family: "Futura", sans-serif;
//$header-subtitle-font-family: "Futura", sans-serif;

21
sass/custom/_layout.scss Normal file
View file

@ -0,0 +1,21 @@
// Here you can easily change your sites's layout.
// To give it a try, uncomment some of the lines below, make changes, rebuild your blog, and see how it works.
//$header-font-size: 1em;
//$header-padding-top: 1.5em;
//$header-padding-bottom: 1.5em;
//$max-width: 1350px;
//$indented-lists: true;
// Padding used for layout margins
//$pad-min: 18px;
//$pad-narrow: 25px;
//$pad-medium: 35px;
//$pad-wide: 55px;
// Sidebar widths used in media queries
//$sidebar-width-medium: 240px;
//$sidebar-pad-medium: 15px;
//$sidebar-pad-wide: 20px;
//$sidebar-width-wide: 300px;

48
sass/custom/_paulus.scss Normal file
View file

@ -0,0 +1,48 @@
@charset "UTF-8";
// https://fortawesome.github.io/Font-Awesome/3.2.1/icons/
.ha-title {
white-space: nowrap;
img {
width: 40px;
vertical-align: middle;
}
}
.usp ul {
text-align: left;
margin-left: 27px;
margin-top: -18px;
}
.note {
background: #e7f2fa;
padding: 12px;
margin-bottom: 1em;
box-shadow: rgba(0,0,0,0.06) 0 0 10px;
.title::before {
font-family: "FontAwesome";
content: "\f05a";
margin-right: 5px;
}
.title {
border-top-left-radius: 0.4em;
border-top-right-radius: 0.4em;
font-weight: bold;
display: block;
color: #fff;
background: #6ab0de;
margin: -12px;
padding: 6px 12px;
margin-bottom: 12px;
box-sizing: border-box;
}
.content {
margin-bottom: 0;
}
}

142
sass/custom/_styles.scss Normal file
View file

@ -0,0 +1,142 @@
// This File is imported last, and will override other styles in the cascade
// Add styles here to make changes without digging in too much
html {
background:$page-bg;
}
body {
line-height: 1.8em;
font-size:1.1em;
max-width:1320px;
> div {
background: #fff !important;
border-bottom:2px solid #f2f2f2;
> div {
border-right:2px solid #f2f2f2;
background: #fff !important;
}
}
> nav {
border-bottom:2px solid #f2f2f2;
li+li {
border-left:2px solid #f2f2f2;
}
a {
font-family: $serif;
}
}
>header {
h1 a {
font-weight: bold;
}
}
#content .blog-index article {
table {
font-size: 90%;
margin-bottom: 1.5em;
thead tr {
border-bottom: 1px solid $sidebar-border;
}
th {
font-weight: bold;
padding-right: 20px;
}
td {
padding: 0 20px 10px 0;
vertical-align: top;
}
}
header {
h1 {
margin: 0;
a { text-decoration: none;
&:hover {
text-decoration: none;
color:$link-color;
}
}
}
}
}
#blog-archives {
h1 {
a { text-decoration: none;
&:hover { text-decoration:none; } }
}
}
aside.sidebar {
background:#fff;
border-left:2px solid #f2f2f2;
height:100%;
form .search {
padding: .3em .5em 0;
font-size: .85em;
font-family: $serif;
line-height: 1.1em;
width: 95%;
background-color: #fff;
border: 2px solid #f2f2f2;
color: #000;
}
input[type=text]:focus, textarea:focus {
box-shadow: 0 0 0 rgba(255,255,255,1);
}
}
.toggle-sidebar {
display:none;
}
}
@media only screen and (max-width: 749px) {
aside.sidebar {
padding-top:15px;
padding-bottom:15px;
}
}
@media only screen and (min-width: 750px) {
aside.sidebar {
border-top:0px solid black;
}
}
@media only screen and (min-width:992px) {
body {
font-size: 1.3em;
}
.collapse-sidebar aside.sidebar {
background: #fff;
}
}
.meta {
font-family: $serif;
}
.sticky {
position: fixed;
width:100%;
left: 0;
top: 0;
z-index: 100;
}
::-webkit-input-placeholder {
color: $link-color;
}
:-moz-placeholder { /* Firefox 18- */
color: $link-color;
}
::-moz-placeholder { /* Firefox 19+ */
color: $link-color;
}
:-ms-input-placeholder {
color: $link-color;
}
.highlight, html .gist .gist-file .gist-syntax .gist-highlight {
table {
margin: 0;
td {
padding: 0;
&.code { width: 100%; }
}
}
border: 1px solid $pre-border !important;
}