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

github.com/lubang/hugo-hello-programmer-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorD.G.BANG <lubang@lulab.net>2018-02-04 08:22:53 +0300
committerD.G.BANG <lubang@lulab.net>2018-02-04 08:22:53 +0300
commit150f7937e3e25c6350173df3c5b297075d0ac445 (patch)
tree2d71233cb859158a77b86e4e9a2db75e2378f95b /static
parentb793f271c43b2312265ab56fe8d1ef0a7e156844 (diff)
Improve margin, padding for blogging
- remove unless images - change @2x image for the retina display - change line-height for the readability - remove stupid markup tags
Diffstat (limited to 'static')
-rw-r--r--static/css/styles.css87
-rw-r--r--static/images/logo.pngbin5941 -> 0 bytes
-rw-r--r--static/images/logo@2x.pngbin0 -> 16510 bytes
-rw-r--r--static/images/seperator.pngbin109 -> 0 bytes
4 files changed, 57 insertions, 30 deletions
diff --git a/static/css/styles.css b/static/css/styles.css
index 226b362..11284f4 100644
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -13,31 +13,31 @@ html, body, h1, h2, h3, h4, h5 {
}
h1 {
- font-size: 22px;
+ font-size: 27px;
margin-top: 50px;
margin-bottom: 10px;
}
h2 {
- font-size: 20px;
+ font-size: 24px;
margin-top: 50px;
margin-bottom: 10px;
}
h3 {
- font-size: 18px;
+ font-size: 21px;
margin-top: 50px;
margin-bottom: 10px;
}
h4 {
- font-size: 16px;
+ font-size: 18px;
margin-top: 50px;
margin-bottom: 10px;
}
h5 {
- font-size: 14px;
+ font-size: 15px;
margin-top: 50px;
margin-bottom: 10px;
}
@@ -64,6 +64,7 @@ dt {
.seperator {
clear: left;
+ color: #717171;
text-align: center;
padding: 45px;
}
@@ -83,19 +84,31 @@ dt {
.navbar ul {
list-style-type: none;
- margin: 0;
+ margin: 0 auto;
padding: 0px 20px 0px 20px;
}
-.navbar li a {
- float: left;
- padding: 8px 10px 8px 10px;
+.navbar li {
+ display: inline-block;
+ padding: 0px 8px 0px 8px;
+ letter-spacing: 1.5px;
font-size: 12px;
+}
+
+.navbar li a {
color: #FFFFFF;
- letter-spacing: 1.5px;
text-decoration: none;
}
+.navbar li a:hover {
+ color: #00B2A0;
+}
+
+.navbar .logo-title {
+ font-weight: bold;
+ color: #cccccc;
+ padding-right: 10px;
+}
/*
* container
@@ -103,24 +116,16 @@ dt {
.container {
margin: auto;
- max-width: 1000px;
+ max-width: 800px;
padding: 40px 30px 15px 30px;
- font-size: 17px;
- line-height: 1.5em;
+ font-size: 18px;
+ line-height: 1.8em;
+ color: #333e4c;
}
.container .title {
text-align: center;
- padding-top: 40px;
- padding-bottom: 80px;
-}
-
-.container .logo-title {
- padding-top: 10px;
- font-weight: bold;
- font-size: 16px;
- color: #00B2A0;
- letter-spacing: 3.03px;
+ padding: 50px 0px 80px 0px;
}
.post-list-item {
@@ -145,16 +150,19 @@ dt {
.post-meta, .post-meta a, .post-meta a:visited {
display: inline-block;
color: #4A4A4A;
+ font-size: 14px;
+ line-height: 1.7em;
}
.post-meta h1 {
- font-size: 26px;
- margin-top: 3px;
- margin-bottom: 10px;
+ color: #00B2A0;
+ margin-top: 0px;
+ margin-bottom: 30px;
+ line-height: 1.2em;
}
.post-meta time {
- font-size: 14px;
+ margin-bottom: 0px;
}
.post-toc {
@@ -163,6 +171,7 @@ dt {
padding: 20px 25px 20px 25px;
background-color: #f5f5f5;
font-size: .8rem;
+ line-height: 1.8em;
}
.post-toc a, .post-toc a:visited {
@@ -183,6 +192,14 @@ dt {
margin-top: 20px;
}
+.post-content hr {
+ border: 0;
+ height: 0;
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.3);
+ margin: 60px 0px 40px 0px;
+}
+
.post-meta-code {
background-color: #f5f5f5;
padding: 10px;
@@ -193,8 +210,8 @@ dt {
}
.post-meta-code a, .post-meta-code a:visited {
- letter-spacing: 1.5px;
color: #A0A0A0;
+ font-weight: 400;
}
.post-meta-code .desc {
@@ -225,15 +242,16 @@ dt {
/*
* Pagination
*/
+
.paging {
- margin-bottom: 15px;
+ margin: 20px 0px 15px 0px;
color: #00B2A0;
font-size: 1.4rem;
text-align: center;
}
.paging a, a:visited {
- margin: 0px 10px 0px 10px;
+ margin: 0px;
}
.paging a, span {
@@ -250,6 +268,7 @@ dt {
.post-paging {
margin-top: 15px;
+ height: 40px;
}
/*
@@ -316,3 +335,11 @@ dt {
float: right;
color: #717171;
}
+
+/*
+* Util
+*/
+
+.margin {
+ height: 80px;
+} \ No newline at end of file
diff --git a/static/images/logo.png b/static/images/logo.png
deleted file mode 100644
index eac87f5..0000000
--- a/static/images/logo.png
+++ /dev/null
Binary files differ
diff --git a/static/images/logo@2x.png b/static/images/logo@2x.png
new file mode 100644
index 0000000..00818f3
--- /dev/null
+++ b/static/images/logo@2x.png
Binary files differ
diff --git a/static/images/seperator.png b/static/images/seperator.png
deleted file mode 100644
index f153e72..0000000
--- a/static/images/seperator.png
+++ /dev/null
Binary files differ