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

github.com/mrmierzejewski/hugo-theme-console.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Mierzejewski <marcin@mierzejewski.net>2021-03-07 22:07:22 +0300
committerMarcin Mierzejewski <marcin@mierzejewski.net>2021-03-07 22:07:22 +0300
commit60e269a0dd7dd2a7febf4de36648fdc25425fb42 (patch)
tree12cb16ae9fc03366af3f0122dbc511dadfe34b1a
parent0a8ec4534132f8d5a672490c0e501cddadecff06 (diff)
css: add H2 style for post lists
-rw-r--r--static/hugo-theme-console/css/console.css23
1 files changed, 8 insertions, 15 deletions
diff --git a/static/hugo-theme-console/css/console.css b/static/hugo-theme-console/css/console.css
index 1b9ffc9..80b9465 100644
--- a/static/hugo-theme-console/css/console.css
+++ b/static/hugo-theme-console/css/console.css
@@ -195,32 +195,26 @@ figure {
.posts-list {
position: relative;
- padding-left: 150px;
+ padding-left: 130px;
top: 0;
- margin-top: 21px;
}
-.post h1 {
+.post h1, .post h2 {
padding-top: 0;
+ margin: 0;
+ margin-bottom: 5px;
}
.posts-list .date {
display: inline-block;
position: absolute;
left: 0px;
- width: 150px;
+ width: 130px;
z-index: 400;
- font-weight: bold;
- padding-top: 3px;
+ padding-top: 0;
}
@media only screen and (max-width: 850px) {
- .site-name {
- width: 2ch;
- overflow: hidden;
- display: inline-block;
- }
-
.terminal-nav {
align-items: flex-start;
flex-direction: column;
@@ -254,10 +248,9 @@ figure {
position: relative;
padding-left: 0;
top: 0;
- margin-top: 21px;
}
- .post h1 {
+ .post h1, .post h2 {
padding-top: 0;
}
@@ -268,7 +261,7 @@ figure {
width: 150px;
z-index: 400;
font-weight: bold;
- padding-top: 3px;
+ padding-top: 0;
display: none;
}