Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/schollz/onetwothree.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Scholl <zack.scholl@gmail.com>2017-12-05 08:38:54 +0300
committerZack Scholl <zack.scholl@gmail.com>2017-12-05 08:38:54 +0300
commit4b9b9f5d6faf8c1159230552c2e513a23d524db0 (patch)
tree125a2af9c34322ba0edabb27475e0d9150878bac
parent93b5e1cafb5e83d5629b90ba5952b117db0fa347 (diff)
New style
-rw-r--r--[-rwxr-xr-x]static/css/style.css405
-rwxr-xr-xstatic/css/style1.css323
2 files changed, 405 insertions, 323 deletions
diff --git a/static/css/style.css b/static/css/style.css
index dc3d43d..8eea909 100755..100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -1,323 +1,82 @@
-@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;
-}
+body {
+ font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
+ line-height: 1.15;
+
+ }
+
+h1 {
+font-size: 2.25rem
+}
+
+
+aside {
+letter-spacing: .05em;
+text-transform: uppercase;
+font-size: 0.875rem;
+color: #777;
+}
+
+
+
+
+code {
+ -moz-hyphens: none;
+ -webkit-hyphens: none;
+ -o-hyphens: none;
+ -ms-hyphens: none;
+ hyphens: none;
+ }
+
+
+ pre {
+ 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+ */
+ }
+
+a {
+text-decoration: none;
+}
+body {
+ max-width: 30em;
+ padding: 4rem;
+}
+
+img {
+ max-width:30em;
+ text-align: center;
+}
+
+figcaption {
+ color: #777;
+ font-style: italic;
+ text-align: center;
+}
+figure {
+ display: block;
+ -webkit-margin-before: 1em;
+ -webkit-margin-after: 1em;
+ -webkit-margin-start: 0px;
+ -webkit-margin-end: 0px;
+}
+ol,ul,li {
+ line-height: 1.3;
+}
+p {
+ max-width: 30em;
+ display: block;
+ -webkit-margin-before: 1em;
+ -webkit-margin-after: 1em;
+ -webkit-margin-start: 0px;
+ -webkit-margin-end: 0px;
+ line-height: 1.5;
+ }
+@media and (max-width: 30em) {
+ body { padding: 1rem; }
+ }
diff --git a/static/css/style1.css b/static/css/style1.css
new file mode 100755
index 0000000..dc3d43d
--- /dev/null
+++ b/static/css/style1.css
@@ -0,0 +1,323 @@
+@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;
+}