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-16 19:39:04 +0300
committerZack Scholl <zack.scholl@gmail.com>2017-12-16 19:39:04 +0300
commit0c675d3f87f9144b253e33d197ea46b4777becca (patch)
treeab0717b5ad8932dcb36bc0bd0bedc943180cbbbb
parenta080c13c04c324f4d0195594c43a975e10d0726d (diff)
Weird hack
-rwxr-xr-xlayouts/partials/header.html7
-rw-r--r--static/css/style3.css51
2 files changed, 37 insertions, 21 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 1c4b48f..3d72045 100755
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -40,11 +40,12 @@
{{ end }}
+
<header >
- <a href="/" style="float: left;color:#CCCCCC;"><strong>{{ $.Site.Title }}</strong></a>
- {{ range $i, $e:= $.Site.Params.navigation }}{{ if eq $i 0}}{{else}}&nbsp;&nbsp;·&nbsp;&nbsp;{{end}}{{ with $.Site.GetPage "page" . }}<a href="{{ lower .Permalink }}" style="color:#CCCCCC;"><strong>{{ title .Title }}</strong></a>{{ end }}{{ end }}
+ <a href="/" style="float: left;color:#777;"><strong>{{ $.Site.Title }}</strong></a>
+ {{ range $i, $e:= $.Site.Params.navigation }}{{ if eq $i 0}}{{else}}&nbsp;&nbsp;·&nbsp;&nbsp;{{end}}{{ with $.Site.GetPage "page" . }}<a href="{{ lower .Permalink }}" style="color:#777;"><strong>{{ title .Title }}</strong></a>{{ end }}{{ end }}
{{ if .Draft }}
DRAFT
{{ end }}
-</header> \ No newline at end of file
+</header>
diff --git a/static/css/style3.css b/static/css/style3.css
index 902d3bf..0579487 100644
--- a/static/css/style3.css
+++ b/static/css/style3.css
@@ -12,7 +12,7 @@ hr {
border-bottom-style: solid;
border-bottom-width: 1px;
border-width: .125rem;
- border-color: rgba(0, 0, 0, .1);
+ border-color: rgba(0, 0, 0, 0.1);
margin-top: 3rem;
}
@@ -35,18 +35,35 @@ h2 {
margin-top: 2em;
}
-footer,footer p {
- color: #666;
- font-size: .9em;
- padding: 1em 1em 2em;
- text-align: right;
- padding: 0;
- max-width: 38rem;
+footer, footer p {
+ color: #666;
+ font-size: .9em;
+ padding: 1em 1em 2em;
+ text-align: right;
+ padding: 0;
+ max-width: 38rem;
+}
+
+header, header a {
+ clear: both;
+ color: #777;
+ text-align: right;
+ max-width: 38rem;
+ border-style: solid;
+ border-width: 3px;
+ border-color: #777;
+ padding: 1rem;
+ background-color: #CCCCCC;
+}
+
+header a:hover {
+ background-color:white
}
header {
- color:#CCCCCC;text-align:right;max-width: 38rem;
+ margin-bottom: 3rem;
}
+
aside {
letter-spacing: -0.05em;
text-transform: uppercase;
@@ -118,7 +135,7 @@ img {
width: 100%;
display: block;
vertical-align: top;
- border-radius: 15px;
+ border-radius: 51px;
text-align: center;
}
@@ -129,19 +146,18 @@ figcaption {
}
figure {
- margin: 0 -1em;
- width:110%;
- margin-top: 3.0em;
- display: block;
- border: 0px solid #303030;
+ margin: 0 -1em;
+ width: 110%;
+ margin-top: 3.0em;
+ display: block;
+ border: 0px solid #303030;
}
-
table {
max-width: 30em;
}
-ol, ul, li, p,dd {
+ol, ul, li, p, dd {
-webkit-margin-before: 1em;
-webkit-margin-after: 1em;
-webkit-margin-start: 0;
@@ -184,5 +200,4 @@ ol, ul, li, p,dd {
h1 {
font-size: 1.5rem;
}
-
} \ No newline at end of file