diff options
Diffstat (limited to 'static/css/style.css')
-rwxr-xr-x[-rw-r--r--] | static/css/style.css | 488 |
1 files changed, 323 insertions, 165 deletions
diff --git a/static/css/style.css b/static/css/style.css index cd8ae5f..dc3d43d 100644..100755 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,165 +1,323 @@ -body { - font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif; - line-height: 1.15; - padding: 4rem; - box-sizing: border-box; - display: block; -} - -hr { - max-width: 4rem; - margin-left: 0; - border-bottom-style: solid; - border-bottom-width: 1px; - border-width: .125rem; - border-color: rgba(0, 0, 0, .1); - margin-top: 3rem; -} - -dt { - font-weight: bold; - font-size: 1.25rem; - margin-top: 1.5em; -} - -dd { - margin-left: 0; -} - -h1 { - font-size: 3rem; - max-width: 34rem; -} - -h2 { - margin-top: 2em; -} - -aside { - letter-spacing: -0.05em; - text-transform: uppercase; - font-size: .875rem; - color: #777; - margin-top: 0.5em; -} - -code { - -moz-hyphens: none; - -webkit-hyphens: none; - -o-hyphens: none; - -ms-hyphens: none; - hyphens: none; - white-space: pre-wrap; - - /* css-3 */ - white-space: -moz-pre-wrap; - - /* Mozilla, since 1999 */ - white-space: -pre-wrap; - - /* Opera 4-6 */ - white-space: -o-pre-wrap; - - /* Opera 7 */ - word-wrap: break-word; - - /* Internet Explorer 5.5+ */ -} - -pre { - background: #f5f7f9; - margin-bottom: 20px; - vertical-align: text-bottom; - white-space: pre-wrap; - - /* css-3 */ - white-space: -moz-pre-wrap; - - /* Mozilla, since 1999 */ - white-space: -pre-wrap; - - /* Opera 4-6 */ - white-space: -o-pre-wrap; - - /* Opera 7 */ - word-wrap: break-word; - - /* Internet Explorer 5.5+ */ - padding: 1em; - max-width: 44em; -} - -a, a:visited { - text-decoration: none; - color: #357edd; -} - -a:hover { - color: #777; -} - -a:focus { - color: #777; -} - -img { - width: 100%; - display: block; - vertical-align: top; - text-align: center; -} - -figcaption { - color: #777; - font-style: italic; - text-align: center; -} - -table { - max-width: 30em; -} - -ol, ul, li, p,dd { - -webkit-margin-before: 1em; - -webkit-margin-after: 1em; - -webkit-margin-start: 0; - -webkit-margin-end: 0; - line-height: 1.5; - font-size: 1.25rem; - max-width: 34rem; -} - -@media screen and (min-width: 30em) and (max-width: 60em) { - h1 { - font-size: 2.25rem; - } - - ol, ul, li, p, dd { - font-size: 1.2rem; - max-width: 30rem; - } -} - -@media screen and (min-width: 30em) and (max-width: 40em) { - body { - padding: 2rem; - } - - h1 { - font-size: 2.25rem; - } - - ol, ul, li, p, dd { - font-size: 1.1rem; - } -} - -@media all and (max-width: 30em) { - body { - padding: 0.875rem; - } - - h1 { - font-size: 1.5rem; - } -}
\ No newline at end of file +@import url('https://fonts.googleapis.com/css?family=Merriweather');
+@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans+SC');
+body, li p {
+ font-family: 'Merriweather', serif;
+}
+
+h1,h2,h3,h4,h5,h6,header,header.a {
+ text-transform: lowercase;
+ font-family: 'Alegreya Sans SC', sans-serif;
+}
+
+header,header.a{
+ font-weight: bold;
+}
+
+@media all {
+ html {
+ font-size: 18px;
+ }
+ body > * {
+ font-size: 100%;
+ margin-left: 7.5rem;
+ margin-right: 7.5rem;
+ }
+}
+@media all and (max-width:840px){
+ html {
+ font-size: 17px;
+ }
+ body > * {
+ margin-left: 5.5rem;
+ margin-right: 5.5rem;
+ }
+}
+@media all and (max-width:760px){
+ body > * {
+ margin-left: 2.5rem;
+ margin-right: 2.5rem;
+ }
+}
+@media all and (max-width:580px){
+ html {
+ font-size: 16px;
+ }
+ body > * {
+ margin: 0.7rem 1.5rem 0 1.5rem;
+ }
+}
+
+/* reset */
+* {
+margin: 0;
+padding: 0;
+}
+
+html {
+ height: 100%;
+}
+
+body {
+ padding: 0rem 0em 0rem 0em;
+ margin-left:auto;
+ margin-right:auto;
+ width:100%;
+ max-width:1000px;
+ min-height: 100%;
+ text-rendering: optimizeLegibility;
+ -moz-font-feature-settings: 'kern=1';
+ -moz-font-feature-settings: 'kern' 1;
+ -webkit-font-feature-settings: 'kern' 1;
+ -o-font-feature-settings: 'kern' 1;
+ -ms-font-feature-settings: 'kern' 1;
+ font-feature-settings: 'kern' 1;
+
+ text-rendering: optimizeLegibility;
+ -moz-font-feature-settings: 'liga=1';
+ -moz-font-feature-settings: 'liga' 1;
+ -webkit-font-feature-settings: 'liga' 1;
+ -o-font-feature-settings: 'liga' 1;
+ -ms-font-feature-settings: 'liga' 1;
+ font-feature-settings: 'liga' 1;
+}
+
+div.content {
+ display: block;
+ padding: 1rem 0rem 5rem 0;
+}
+
+header {
+ display:block;
+ padding: 0.5rem 0 0.5rem 0;
+ border-bottom: 0.10em solid black;
+}
+
+footer {
+ display:block;
+ padding: 0.5rem 0 5.5rem 0;
+}
+
+@media all and (max-width:520px) {
+ div.content {
+ padding: 0;
+ }
+}
+
+h1 {
+ display: block;
+ font-size: 170%;
+ line-height: 1.1;
+ margin-top: 1rem;
+ margin-bottom: 1.5rem;
+ padding-top: 0.02em;
+ -moz-hyphens: none;
+ -webkit-hyphens: none;
+ -o-hyphens: none;
+ -ms-hyphens: none;
+ hyphens: none;
+}
+
+aside {
+ font-size: 0.84rem;
+ line-height: 1.40;
+ color: #667;
+}
+
+aside em {
+ font-size: 0.7rem;
+}
+
+
+p {
+ margin-bottom: 1em;
+ line-height: 1.45;
+}
+
+ul,ol {
+ margin-bottom: 1em;
+ padding-left: 1em;
+}
+
+li {
+ line-height: 1.75;
+}
+
+
+table {
+ margin-bottom: 1.5em;
+ border-collapse: collapse;
+ width: 95%;
+}
+
+table tr + tr {
+ border-top: 1px solid #ccc;
+}
+table td + td {
+ border-left: 1px solid #ccc;
+}
+
+table td {
+ padding: 0.4em;
+ text-align: center;
+ -moz-hyphens: none;
+ -webkit-hyphens: none;
+ -o-hyphens: none;
+ -ms-hyphens: none;
+ hyphens: none;
+}
+
+table th {
+ font-weight: normal;
+ text-transform: uppercase;
+ font-size: 95%;
+ padding: 0.3rem 0.5rem 0.3rem 0.5rem;
+ line-height: 1.05;
+}
+
+img {
+ width: 100%;
+ border-radius: 25px;
+}
+
+
+
+
+a {
+ text-decoration: none;
+ color: inherit;
+ -moz-transition-property: background;
+ -webkit-transition-property: background;
+ transition-property: background;
+ -moz-transition-duration: 0.2s;
+ -webkit-transition-duration: 0.2s;
+ transition-duration: 0.2s;
+}
+
+
+div.nav a:active div {
+ background: #cacaca;
+}
+
+a:active {
+ color: #777;
+}
+
+a:hover {
+ background: #fbf3f3;
+ -moz-transition-property: background;
+ -webkit-transition-property: background;
+ transition-property: background;
+ -moz-transition-duration: 0.2s;
+ -webkit-transition-duration: 0.2s;
+ transition-duration: 0.2s;
+ border-radius: 10px;
+}
+
+
+a:after {
+ position: relative;
+ content: "\FEFF°";
+ margin-left: 0.10em;
+ font-size: 80%;
+ top: -0.30em;
+ left: -0.1em;
+ color: #d21c1c;
+}
+
+
+code {
+ font-size: 95%;
+ -moz-hyphens: none;
+ -webkit-hyphens: none;
+ -o-hyphens: none;
+ -ms-hyphens: none;
+ hyphens: none;
+}
+
+
+pre {
+ font-size:0.8rem;
+ background: #f5f7f9;
+ padding: 1em;
+ margin-bottom:20px;
+ vertical-align: text-bottom;
+ white-space: pre-wrap; /* css-3 */
+ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
+ white-space: -pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
+}
+
+figcaption {
+ font-weight: 400;
+ font-style: italic;
+ font-size: 0.7em/1.52;
+ line-height: 1.3;
+ color: #666665;
+ outline: 0;
+ z-index: 300;
+ text-align: center;
+}
+blockquote {
+ font-style: italic;
+ font-size: 1.1em;
+ margin: 0.7em 10px;
+ padding: 1.2em 20px;
+ margin-bottom: 0px;
+ quotes: "\201C""\201D""\2018""\2019";
+}
+blockquote:before {
+ color: #ccc;
+ content: open-quote;
+ font-size: 3em;
+ line-height: 0.1em;
+ margin-right: 0.25em;
+ vertical-align: -0.4em;
+}
+
+blockquote:after {
+ color: #ccc;
+ content: close-quote;
+ font-size: 3em;
+ line-height: 0.1em;
+ margin-right: 0.25em;
+ vertical-align: -0.4em;
+}
+blockquote p {
+ display: inline;
+}
+
+
+.twitter-tweet {
+ display: inline-block;
+ font-family: "Helvetica Neue", Roboto, "Segoe UI", Calibri, sans-serif;
+ font-size: 12px;
+ font-weight: bold;
+ line-height: 16px;
+ border-color: #eee #ddd #bbb;
+ border-radius: 5px;
+ border-style: solid;
+ border-width: 1px;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
+ margin: 10px 5px;
+ padding: 0 16px 16px 16px;
+ max-width: 468px;
+}
+
+.twitter-tweet p {
+ font-size: 16px;
+ font-weight: normal;
+ line-height: 20px;
+}
+
+.twitter-tweet a {
+ color: inherit;
+ font-weight: normal;
+ text-decoration: none;
+ outline: 0 none;
+}
+
+.twitter-tweet a:hover,
+.twitter-tweet a:focus {
+ text-decoration: underline;
+}
|