diff options
author | Valentin Popov <valentin@popov.link> | 2022-11-10 02:18:30 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2022-11-10 02:18:30 +0300 |
commit | 06e11038cac44178629ce41ffcc04c2060cc1f09 (patch) | |
tree | 056ed58ea516700a288b36897f8ccc14abfeedcc /sass | |
parent | 2196ad61546f9f91340970c252158ef9dd440bea (diff) | |
download | popov.link-06e11038cac44178629ce41ffcc04c2060cc1f09.tar.xz popov.link-06e11038cac44178629ce41ffcc04c2060cc1f09.zip |
Added a project section
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'sass')
-rw-r--r-- | sass/_framework.scss | 3 | ||||
-rw-r--r-- | sass/_projects.scss | 21 | ||||
-rw-r--r-- | sass/styles.scss | 3 |
3 files changed, 25 insertions, 2 deletions
diff --git a/sass/_framework.scss b/sass/_framework.scss index d03c17c..757de68 100644 --- a/sass/_framework.scss +++ b/sass/_framework.scss @@ -125,6 +125,7 @@ blockquote p { img, video { + display: block; height: auto; margin-bottom: 2.5rem; margin-top: 0; @@ -153,7 +154,7 @@ samp { white-space: pre-wrap; } -pre > code { +pre>code { background-color: transparent; font-size: 1em; padding: 0; diff --git a/sass/_projects.scss b/sass/_projects.scss new file mode 100644 index 0000000..ab0dc92 --- /dev/null +++ b/sass/_projects.scss @@ -0,0 +1,21 @@ +.projects { + display: grid; + gap: 30px; + grid-template-columns: repeat(3, 1fr); +} + +@media (max-width: 684px) { + .projects { + grid-template-columns: repeat(1, 1fr); + } +} + +.project { + a { + color: $color-text; + + &:visited { + color: $color-text; + } + } +}
\ No newline at end of file diff --git a/sass/styles.scss b/sass/styles.scss index 7f0aef9..9b520fc 100644 --- a/sass/styles.scss +++ b/sass/styles.scss @@ -15,4 +15,5 @@ $font-feature: "calt", "case", "liga", "locl", "ss01", "tnum", "zero"; $font-size-base: 1.8rem; @import "framework"; -@import "navbar";
\ No newline at end of file +@import "navbar"; +@import "projects";
\ No newline at end of file |