syndicate-2017/style.css

455 lines
6.8 KiB
CSS
Raw Normal View History

2016-03-30 22:32:07 +00:00
---
layout:
2016-04-01 18:33:58 +00:00
bodybackground: "#bbb"
pagebackground: "#fff"
2016-04-01 18:39:24 +00:00
herobackground: "#fff"
2016-04-01 18:33:58 +00:00
textcolor: "#000"
codecolor: "#000"
2016-04-01 18:39:24 +00:00
headercolor: "#070764"
heroheadercolor: "#BD1550"
2016-04-01 18:33:58 +00:00
herotextcolor: "#000"
2016-04-01 18:39:24 +00:00
linkcolor: "#4cbb17"
2016-04-01 18:33:58 +00:00
2016-03-30 22:32:07 +00:00
textfonts: "'Lora', Georgia"
headerfonts: "'Bree Serif', Georgia"
2016-04-01 18:33:58 +00:00
codefonts: "'Inconsolata', monospace"
2016-03-30 22:32:07 +00:00
---
/*---------------------------------------------------------------------------*/
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/*---------------------------------------------------------------------------*/
body {
2016-04-01 18:33:58 +00:00
background: {{ page.bodybackground }};
color: {{ page.textcolor }};
2016-03-30 22:32:07 +00:00
}
body, th, td, input, textarea {
font-family: {{ page.textfonts }};
2016-04-01 18:33:58 +00:00
font-size: 12pt;
color: {{ page.textcolor }};
2016-03-30 22:32:07 +00:00
}
h1, h2, h3, h4, h5, h6 {
font-family: {{ page.headerfonts }};
}
h1, h2, h3, h4 {
2018-01-17 15:13:08 +00:00
margin-top: 1em;
2016-04-01 18:33:58 +00:00
color: {{ page.headercolor }};
2016-03-30 22:32:07 +00:00
font-weight: normal;
}
h1 a, h2 a, h3 a {
2016-04-01 18:33:58 +00:00
color: {{ page.headercolor }};
2016-03-30 22:32:07 +00:00
}
h1 {
2016-04-01 18:33:58 +00:00
font-size: 2.8em;
2016-03-30 22:32:07 +00:00
}
h2 {
2016-04-01 18:33:58 +00:00
font-size: 2.1em;
2016-03-30 22:32:07 +00:00
}
h3 {
2016-04-01 18:33:58 +00:00
font-size: 1.4em;
2016-03-30 22:32:07 +00:00
}
h4 {
font-size: 1.2em;
}
h4 + p {
margin-top: 0.5em;
}
2016-03-30 22:32:07 +00:00
p, ul, ol {
margin-top: 1em;
line-height: 1.3em;
font-size: 1.1em;
}
ul ul {
margin-top: 0.5em;
font-size: 1em;
}
2018-01-17 15:13:08 +00:00
ul p, ol p {
2016-03-30 22:32:07 +00:00
font-size: 1em;
}
ul, ol {
margin-bottom: 0.5em;
margin-left: 3em;
}
ul { list-style-type: disc; }
ol { list-style-type: decimal; }
blockquote {
margin-left: 3em;
margin-right: 3em;
}
a {
text-decoration: none;
color: {{ page.linkcolor }};
}
hr {
border: none;
border-top: solid black 1px;
}
#page {
max-width: 800px;
margin: 0 auto;
2016-04-01 18:33:58 +00:00
background: {{ page.pagebackground }};
padding: 0 2em;
2016-03-30 22:32:07 +00:00
}
#header {
padding-bottom: 2px;
2016-04-01 18:33:58 +00:00
border-bottom: solid {{ page.textcolor }} 1px;
2016-03-30 22:32:07 +00:00
}
#header h2 {
float: right;
}
#header a {
font-variant: small-caps;
}
.historylinks {
text-align: center;
}
.historylinks.bottom {
margin-top: 10px;
}
.footnotes {
2016-04-01 18:33:58 +00:00
border-top: dashed {{ page.textcolor }} 1px;
2016-03-30 22:32:07 +00:00
font-size: 0.8em;
margin-top: 2em;
}
.content {
margin: 0;
2016-04-01 18:33:58 +00:00
padding: 0 3em;
2016-03-30 22:32:07 +00:00
min-height: 400px;
}
.content h1,
.content h2,
.content h3 {
2016-04-01 18:33:58 +00:00
margin-left: -3rem;
2016-03-30 22:32:07 +00:00
}
.content h4 {
margin-left: -1rem;
}
2016-03-30 22:32:07 +00:00
.content .entry_footer {
text-align: right;
}
2018-06-01 09:03:59 +00:00
.content p > img {
max-width: 100%;
max-height: 30em;
display: block;
margin: 0 auto;
}
2016-03-30 22:32:07 +00:00
.clear { clear: both; }
.clearright { clear: right; }
#footer {
padding: 0.5em 0;
margin-bottom: 1em;
}
#footer p {
text-align: center;
font-size: 8pt;
2016-04-01 18:33:58 +00:00
color: {{ page.linkcolor }};
2016-03-30 22:32:07 +00:00
}
div.sitemap_subcategory {
margin-left: 2em;
}
.sitemap_categorylink {
font-size: 1.1em;
}
.center {
text-align: center;
}
img.sitelogo {
float: left;
margin: 15px;
}
.rightfloat, .leftfloat {
margin: 0.3em;
}
a img {
border: 0;
}
.cornerpic {
float: right;
width: 250px;
padding: 1em;
padding-right: 0;
margin: 0;
}
.imagecenter {
text-align: center;
margin: 0.3em;
}
.leftfloat {
float: left;
margin-left: 0px;
margin-right: 1em;
}
.rightfloat {
float: right;
margin-left: 1em;
margin-right: 0px;
}
.topspace {
margin-top: 2em;
}
table {
margin-top: 1em;
margin-bottom: 1em;
}
th, td {
padding: 0.5em;
font-size: 0.88em;
}
th {
font-weight: normal;
2016-04-01 18:33:58 +00:00
color: {{ page.headercolor }};
2016-03-30 22:32:07 +00:00
text-align: right;
vertical-align: top;
}
td {
text-align: left;
vertical-align: top;
}
.mainmenu {
margin: 0px;
}
.mainmenu ul {
margin-top: 0;
}
.mainmenu ul li {
display: inline;
float: right;
text-align: center;
margin-left: 0.5em;
margin-right: 0.5em;
}
pre {
padding: 0.5em;
margin-top: 0.5em;
2016-04-01 18:33:58 +00:00
color: {{ page.codecolor }};
2016-03-30 22:32:07 +00:00
overflow: auto;
}
2016-04-01 18:33:58 +00:00
pre, code {
font-family: {{ page.codefonts }};
font-size: 110%;
}
2016-03-30 22:32:07 +00:00
sup {
line-height: 0;
}
2016-04-01 18:33:58 +00:00
small {
font-size: 80%;
}
2016-04-01 18:54:57 +00:00
strong {
font-weight: bold;
}
2016-04-02 01:03:03 +00:00
em {
font-style: italic;
}
2016-04-01 18:33:58 +00:00
/*---------------------------------------------------------------------------*/
2016-04-01 19:17:27 +00:00
.pagebanner h1,
.pagebanner h2 {
margin: 0;
padding-top: 0.5rem;
padding-bottom: 1rem;
color: white;
}
.pagebanner a {
color: white;
}
2016-04-01 19:17:27 +00:00
.pagebanner h1 {
text-align: right;
}
.pagebanner h2 {
display: none;
}
.pagebanner {
margin: 0 -2em;
background-color: {{ page.heroheadercolor }};
padding: 0em 1em;
}
#page.frontpage .pagebanner h1,
#page.frontpage .pagebanner h2 {
2016-04-01 18:33:58 +00:00
text-align: center;
2016-04-01 19:17:27 +00:00
margin: 0 auto;
color: white;
2016-04-01 18:33:58 +00:00
}
2016-04-01 19:17:27 +00:00
#page.frontpage .pagebanner h1 {
2016-04-01 18:33:58 +00:00
font-size: 5.6em;
2016-04-01 19:37:56 +00:00
padding-top: 1.5rem;
2016-04-01 18:33:58 +00:00
}
2016-04-01 19:17:27 +00:00
#page.frontpage .pagebanner h2 {
2016-04-01 18:33:58 +00:00
font-size: 2.1em;
2016-04-01 19:37:56 +00:00
padding: 0 0 2rem 0;
2016-04-01 19:33:35 +00:00
display: block;
2016-04-01 18:33:58 +00:00
}
2016-04-01 19:17:27 +00:00
#page.frontpage .pagebanner {
2016-04-01 18:33:58 +00:00
margin: 0 -2em;
2016-04-01 19:17:27 +00:00
background-color: {{ page.heroheadercolor }};
padding: 0em 2em;
2016-04-01 18:33:58 +00:00
}
#page.frontpage .frontpage_code_examples {
display: flex;
flex-direction: row;
flex-wrap: wrap;
2016-04-04 03:21:18 +00:00
margin-top: 1em;
}
#page.frontpage .frontpage_code_examples div {
flex-grow: 1;
text-align: center;
background: #eee;
margin: 0.2em;
}
#page.frontpage .frontpage_code_examples pre {
font-size: 105%;
display: inline-block;
text-align: left;
margin: 0;
}
2016-04-01 19:17:27 +00:00
/*---------------------------------------------------------------------------*/
2016-04-01 18:33:58 +00:00
div.linkbuttons {
text-align: center;
padding-top: 1em;
}
2016-04-01 19:08:50 +00:00
/*---------------------------------------------------------------------------*/
@media (max-width: 600px) {
#page {
padding: 0 0.5em;
}
.content {
padding: 0;
}
.content h1,
.content h2,
.content h3 {
margin-left: 0;
}
2016-04-01 19:17:27 +00:00
.pagebanner {
margin: 0 -0.5em;
}
#page.frontpage .pagebanner h1 {
2016-04-01 19:08:50 +00:00
font-size: 17vw;
}
2016-04-01 19:17:27 +00:00
#page.frontpage .pagebanner {
margin: 0 -0.5em;
}
2016-04-01 19:08:50 +00:00
}