diff options
| author | Mole Shang <135e2@135e2.dev> | 2024-05-05 00:12:46 +0800 | 
|---|---|---|
| committer | Mole Shang <135e2@135e2.dev> | 2024-05-05 00:12:46 +0800 | 
| commit | a0ba466b9e9b3fe02f55f83919210789eae399cb (patch) | |
| tree | 951418063f1f0f90e7be8a9bbf2d7b004c5ed814 /sass | |
| parent | bfb359b526cb94587a5aaf03dda4d3a539811240 (diff) | |
| download | Seje2-a0ba466b9e9b3fe02f55f83919210789eae399cb.tar.gz Seje2-a0ba466b9e9b3fe02f55f83919210789eae399cb.tar.bz2 Seje2-a0ba466b9e9b3fe02f55f83919210789eae399cb.zip | |
templates/{archive,taxonomy}: refactor and enforce a coherent style
Diffstat (limited to 'sass')
| -rw-r--r-- | sass/_partial/_archive.scss | 4 | ||||
| -rw-r--r-- | sass/_partial/_taxonomy.scss | 12 | ||||
| -rw-r--r-- | sass/style.scss | 1 | 
3 files changed, 15 insertions, 2 deletions
| diff --git a/sass/_partial/_archive.scss b/sass/_partial/_archive.scss index 49ac32e..6fce40a 100644 --- a/sass/_partial/_archive.scss +++ b/sass/_partial/_archive.scss @@ -1,6 +1,6 @@  .archive {      padding: 0 10%; -    border: 1px #ddd; +    border: 1px #616161;      border-style: solid none none none;      .post-archive {          list-style: none; @@ -8,7 +8,7 @@          .years {              border: 1px #ddd;              border-style: none none solid none; -            padding-bottom: 0.5em; +            padding: 0.5em 0;          }          .post-item {              .post-date { diff --git a/sass/_partial/_taxonomy.scss b/sass/_partial/_taxonomy.scss new file mode 100644 index 0000000..631fb5f --- /dev/null +++ b/sass/_partial/_taxonomy.scss @@ -0,0 +1,12 @@ +.term-name { +    color: #fff; +    font-size: 125%; +    font-style: italic; +    text-decoration: none; +} + +.term-name-heading { +    border: 1px #616161; +    border-style: solid none none none; +    padding: 0.5em 0; +} diff --git a/sass/style.scss b/sass/style.scss index 53e334f..38aa9b7 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -28,4 +28,5 @@ body {  @import "_partial/_post";  @import "_partial/_archive";  @import "_partial/_normalize"; +@import "_partial/_taxonomy";  @import "_partial/_term" | 
