first half decent pass of new styling

This commit is contained in:
Medium Fries 2018-09-21 14:36:12 -07:00
parent 41f639bc46
commit 9069d9425d
3 changed files with 56 additions and 32 deletions

View File

@ -5,34 +5,44 @@ html {
-ms-text-size-adjust: 100%; -ms-text-size-adjust: 100%;
} }
@font-face {
font-family: 'Fixedsys';
src: url(../fonts/FSEX300.ttf);
}
@font-face {
font-family: 'Freemono';
src: url(../fonts/FreeMono.otf);
}
body { body {
color: #444; color: #444;
font-family: Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', serif; font-family: Fixedsys;
font-size: 12px; font-size: 12px;
line-height: 1.7; line-height: 1.7;
padding: 1em; padding: 1em;
margin: auto; margin: auto;
max-width: 42em; max-width: 42em;
background: lightgrey; background-image: url("../img/backt.png");
background-repeat: repeat;
} }
/* Link stuff */
a { a {
color: black; color: #06e;
text-decoration: none; text-decoration: none;
} }
/* visited link */
a:visited { a:visited {
color: #0b0080; color: #0047a6;
} }
/* hovering link */
a:hover { a:hover {
color: #06e; color: #3284f1;
} }
/* clicked on */
a:active { a:active {
color: #faa700; color: #e5effd;
} }
/* only if a link was dragged but not went through or smthng */
a:focus { a:focus {
outline: thin dotted; outline: thin dotted;
} }
@ -59,6 +69,7 @@ a::selection {
p { p {
margin: 1em 0; margin: 1em 0;
color: #969696;
} }
img { img {
@ -66,7 +77,7 @@ img {
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
color: #111; color: #e1e1e1;
line-height: 125%; line-height: 125%;
margin-top: 2em; margin-top: 2em;
font-weight: normal; font-weight: normal;
@ -77,6 +88,7 @@ h4, h5, h6 {
} }
h1 { h1 {
font-family: "Fixedsys";
font-size: 2.5em; font-size: 2.5em;
} }
@ -101,10 +113,10 @@ h6 {
} }
blockquote { blockquote {
color: #666666; color: #d8d8d8;
margin: 0; margin: 0;
padding-left: 3em; padding-left: 3em;
border-left: 0.5em red solid; border-left: 0.5em #008fae solid;
} }
hr { hr {
@ -118,11 +130,11 @@ hr {
} }
pre, code, kbd, samp { pre, code, kbd, samp {
background-color: lightblue; background-color: #000;
border-radius: 8px; border-radius: 8px;
padding: 8px; padding: 8px;
color: #000; color: #00cc03;
font-family: monospace, monospace; font-family: Freemono, monospace, monospace;
_font-family: 'courier new', monospace; _font-family: 'courier new', monospace;
font-size: 0.98em; font-size: 0.98em;
} }
@ -172,6 +184,7 @@ sub {
ul, ol { ul, ol {
margin: 1em 0; margin: 1em 0;
padding: 0 0 0 2em; padding: 0 0 0 2em;
color: #858585;
} }
li p:last-child { li p:last-child {

View File

@ -4,38 +4,45 @@ html {
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; -ms-text-size-adjust: 100%;
} }
@font-face {
font-family: 'Fixedsys';
src: url(../fonts/FSEX300.ttf);
}
@font-face { @font-face {
font-family: 'Freemono'; font-family: 'Freemono';
src: url(../fonts/FreeMono.otf); src: url(../fonts/FreeMono.otf);
} }
body { body {
color: #444; color: #444;
font-family: Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', serif; font-family: Fixedsys;
font-size: 12px; font-size: 12px;
line-height: 1.7; line-height: 1.7;
padding: 1em; padding: 1em;
margin: auto; margin: auto;
max-width: 42em; max-width: 42em;
background: lightgrey; background-image: url("../img/backt.png");
background-repeat: repeat;
} }
/* Link stuff */
a { a {
color: black; color: #06e;
text-decoration: none; text-decoration: none;
} }
/* visited link */
a:visited { a:visited {
color: #0b0080; color: #0047a6;
} }
/* hovering link */
a:hover { a:hover {
color: #06e; color: #3284f1;
} }
/* clicked on */
a:active { a:active {
color: #faa700; color: #e5effd;
} }
/* only if a link was dragged but not went through or smthng */
a:focus { a:focus {
outline: thin dotted; outline: thin dotted;
} }
@ -62,6 +69,7 @@ a::selection {
p { p {
margin: 1em 0; margin: 1em 0;
color: #969696;
} }
img { img {
@ -69,7 +77,7 @@ img {
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
color: #111; color: #e1e1e1;
line-height: 125%; line-height: 125%;
margin-top: 2em; margin-top: 2em;
font-weight: normal; font-weight: normal;
@ -80,6 +88,7 @@ h4, h5, h6 {
} }
h1 { h1 {
font-family: "Fixedsys";
font-size: 2.5em; font-size: 2.5em;
} }
@ -104,10 +113,10 @@ h6 {
} }
blockquote { blockquote {
color: #666666; color: #d8d8d8;
margin: 0; margin: 0;
padding-left: 3em; padding-left: 3em;
border-left: 0.5em red solid; border-left: 0.5em #008fae solid;
} }
hr { hr {
@ -121,10 +130,10 @@ hr {
} }
pre, code, kbd, samp { pre, code, kbd, samp {
background-color: lightblue; background-color: #000;
border-radius: 8px; border-radius: 8px;
padding: 8px; padding: 8px;
color: #000; color: #00cc03;
font-family: Freemono, monospace, monospace; font-family: Freemono, monospace, monospace;
_font-family: 'courier new', monospace; _font-family: 'courier new', monospace;
font-size: 0.98em; font-size: 0.98em;
@ -175,6 +184,7 @@ sub {
ul, ol { ul, ol {
margin: 1em 0; margin: 1em 0;
padding: 0 0 0 2em; padding: 0 0 0 2em;
color: #858585;
} }
li p:last-child { li p:last-child {

View File

@ -115,7 +115,7 @@ blockquote {
color: #d8d8d8; color: #d8d8d8;
margin: 0; margin: 0;
padding-left: 3em; padding-left: 3em;
border-left: 0.5em red solid; border-left: 0.5em #008fae solid;
} }
hr { hr {
@ -183,6 +183,7 @@ sub {
ul, ol { ul, ol {
margin: 1em 0; margin: 1em 0;
padding: 0 0 0 2em; padding: 0 0 0 2em;
color: #a3a3a3;
} }
li p:last-child { li p:last-child {