aboutsummaryrefslogtreecommitdiffstats
path: root/_sass
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2021-08-21 22:41:01 +0300
committerla-ninpre <leobrekalini@gmail.com>2021-08-21 22:41:01 +0300
commitd7118a8b627e1f5c7d7ebde49b5f52c364b37b32 (patch)
tree7a2babd0ec3aa64d8acac3ca691de5111a940f0c /_sass
parent7736c6f494d7fd4b64d11f5fe36a0552bc33b034 (diff)
downloadaaoth.xyz-d7118a8b627e1f5c7d7ebde49b5f52c364b37b32.tar.gz
aaoth.xyz-d7118a8b627e1f5c7d7ebde49b5f52c364b37b32.zip
tweak logo image scaling and fix logo urls in project page
Diffstat (limited to '_sass')
-rw-r--r--_sass/main.scss7
1 files changed, 4 insertions, 3 deletions
diff --git a/_sass/main.scss b/_sass/main.scss
index be0f8d3..74508e7 100644
--- a/_sass/main.scss
+++ b/_sass/main.scss
@@ -216,6 +216,7 @@ footer {
padding-left: 10px;
}
}
+
&-header {
margin-bottom: 2em;
ul {
@@ -234,7 +235,7 @@ footer {
}
}
-@mixin image-list-item ($width, $height) {
+@mixin image-list-item ($width, $height, $object-fit: cover) {
&-item-mask {
position: absolute;
z-index: 1;
@@ -258,7 +259,7 @@ footer {
width: 100%;
height: 100%;
image-orientation: initial;
- object-fit: cover;
+ object-fit: $object-fit;
}
}
}
@@ -321,7 +322,7 @@ footer {
flex-flow: row wrap;
justify-content: space-evenly;
- @include image-list-item(250px, 300px);
+ @include image-list-item(250px, 300px, contain);
&-item {
margin-bottom: 1em;