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

github.com/queensferryme/hugo-theme-texify.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqueensferry <queensferry.me@gmail.com>2020-02-26 14:05:57 +0300
committerqueensferry <queensferry.me@gmail.com>2020-02-26 14:05:57 +0300
commitefaaf86c6bf55a642e4f10aa20dc302c3182d03b (patch)
tree5d1ac04c56ab7f8833dec1c2e510f9c198cdaf01 /static/css
parentf265896db27d247741c07d2a12e5573269a4cd29 (diff)
feat: better index page design
Diffstat (limited to 'static/css')
-rw-r--r--static/css/common.css (renamed from static/css/main.css)49
-rw-r--r--static/css/index.css35
2 files changed, 63 insertions, 21 deletions
diff --git a/static/css/main.css b/static/css/common.css
index cb862e6..6acd636 100644
--- a/static/css/main.css
+++ b/static/css/common.css
@@ -1,29 +1,34 @@
/* global styles */
* {
box-sizing: border-box;
- color: #3A353F;
margin: 0;
padding: 0;
}
a {
- color: black;
+ color: inherit;
text-decoration: none;
}
+a.link {
+ box-shadow: inset 0 -.2em #84DCC6;
+ transition: box-shadow .2s;
+}
+
+a.link:hover {
+ box-shadow: inset 0 -1em #84DCC6;
+}
+
body {
+ background-color: #FAFAFA;
+ color: #222222;
+ font-family: 'trebuchet ms', 'Verdana', 'verdana ref', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
-.link {
- box-shadow: inset 0 -3px 0 #C05850;
- display: inline-block;
- transition: box-shadow .1s;
-}
-
-.link:hover {
- box-shadow: inset 0 -6px 0 #C05850;
+::selection {
+ background-color: #84DCC6;
}
#wrapper {
@@ -31,18 +36,15 @@ body {
flex-direction: column;
justify-content: space-between;
margin: 0 auto;
- max-width: 1024px;
+ max-width: 1440px;
min-height: 100vh;
-}
-
-#main {
- flex: 1 0 auto;
+ padding: .5rem .5rem;
}
/* header styles */
#header {
align-items: center;
- display: flex;
+ display: inherit;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
@@ -50,6 +52,7 @@ body {
#header > .title {
font-size: 2rem;
+ padding: .5rem 3rem;
}
#header > .nav-bar > .nav-bar-item {
@@ -57,6 +60,11 @@ body {
margin-left: 1.5rem;
}
+/* main styles */
+#main {
+ flex: 1 0 auto;
+}
+
/* footer styles */
#footer {
display: flex;
@@ -66,11 +74,10 @@ body {
font-size: small;
}
-#footer a {
- color: #a6a6a6;
- transition: all 0.2s linear;
+#footer > * {
+ font-size: .8rem;
}
-#footer a:hover {
- color: #263238;
+#footer > .footnote {
+ text-align: center;
}
diff --git a/static/css/index.css b/static/css/index.css
new file mode 100644
index 0000000..1243a9b
--- /dev/null
+++ b/static/css/index.css
@@ -0,0 +1,35 @@
+.index {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex-direction: column;
+}
+
+.avatar > img {
+ height: 10rem;
+ width: 10rem;
+}
+
+.avatar > img.round {
+ border-radius: 100%;
+ border: #BFBDC1 .3rem solid;
+}
+
+.slogan {
+ margin: .5rem 0 1rem 0;
+ text-align: center;
+}
+
+.social-links > a {
+ background-color: #222222;
+ display: inline-block;
+ height: 2rem;
+ margin: 0 .7rem;
+ transition: background-color .3s;
+ width: 2rem;
+}
+
+.social-links > a:hover {
+ background-color: #84DCC6;
+}
+