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

github.com/funkydan2/hugo-kiera.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorAvi Avianto <avianto@gmail.com>2017-11-07 01:00:00 +0300
committerAvi Avianto <avianto@gmail.com>2017-11-07 01:00:00 +0300
commitfece4348a3018741d2002f9e25d5e928e4738633 (patch)
tree171eef9f1f2d5a03de45622cf81a1c11e3ae9035 /static
parent6574bc945e401f6b61eec5d9ae2c5fe0bdcc33d4 (diff)
optimize images plus many other things
Diffstat (limited to 'static')
-rw-r--r--static/css/styles.css83
1 files changed, 80 insertions, 3 deletions
diff --git a/static/css/styles.css b/static/css/styles.css
index d716641..659c4e5 100644
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -6,7 +6,6 @@ body {
h1, h2, h3, h4, h5, h6 {
font-family: "Roboto Condensed", sans-serif;
- font-size: 1.5rem;
}
p {
@@ -14,6 +13,10 @@ p {
font-size: 1.3rem;
}
+time {
+ font-family: "Roboto Condensed", sans-serif;
+}
+
#container {
margin: 0;
padding: 0;
@@ -38,6 +41,7 @@ p {
#container nav {
border-bottom: solid 3px #000000;
padding-bottom: 0.5em;
+ font-family: "Roboto Condensed", sans-serif;
}
#container nav ul {
@@ -45,11 +49,15 @@ p {
padding: 0;
list-style: none;
display: flex;
- justify-content: flex-start;
+ justify-content: flex-end;
}
#container nav ul li {
- margin-right: 1em;
+ margin-left: 1em;
+}
+
+#container nav ul li a.active {
+ border-bottom: 0.5em solid #666666;
}
#container main {
@@ -57,14 +65,60 @@ p {
line-height: 1.5;
}
+#container main section {
+ font-family: "Vollkorn", serif;
+}
+
#container main section#home ul {
margin: 0;
padding: 0;
list-style: none;
}
+#container main section#home ul li {
+ margin: 0.5em 0;
+}
+
+#container main section#home ul li h2 {
+ margin: 0.2em 0;
+}
+
+#container main section#home ul li p {
+ color: #666666;
+}
+
+#container main section#list ul {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+#container main section#list ul li {
+ padding: 0.5em 0;
+ border-bottom: 1px solid #000000;
+}
+
+#container main section#list ul li time {
+ float: right;
+}
+
+#container main section#list ul li:last-child {
+ border-bottom: none;
+}
+
+#container main article aside {
+ margin: 0.5em 0;
+ font-family: "Roboto Condensed", sans-serif;
+}
+
#container main article pre {
background-color: #ffffcc;
+ overflow-x: auto;
+ padding: 2em;
+}
+
+#container main article pre:hover {
+ width: min-content;
}
#container footer {
@@ -84,3 +138,26 @@ img[src*="full"] {
margin-left: -50vw;
margin-right: -50vw;
}
+
+img[src*="mid"] {
+ width: 800px;
+ position: relative;
+ left: 50%;
+ right: 50%;
+ margin-left: -400px;
+ margin-right: -400px;
+}
+
+@media only screen and (max-width: 800px) {
+ img[src*="mid"] {
+ width: 100%;
+ left: 0;
+ right: 0;
+ margin: 0;
+ }
+}
+
+img[src*="float"] {
+ width: 300px;
+ float: left;
+}