aboutsummaryrefslogtreecommitdiff
path: root/sass
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2022-11-10 02:18:30 +0300
committerValentin Popov <valentin@popov.link>2022-11-10 02:18:30 +0300
commit06e11038cac44178629ce41ffcc04c2060cc1f09 (patch)
tree056ed58ea516700a288b36897f8ccc14abfeedcc /sass
parent2196ad61546f9f91340970c252158ef9dd440bea (diff)
downloadpopov.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.scss3
-rw-r--r--sass/_projects.scss21
-rw-r--r--sass/styles.scss3
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