aboutsummaryrefslogtreecommitdiffhomepage
path: root/sass
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-05-24 23:20:42 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-05-25 00:48:49 +0200
commitc67f71782d24180ce2e3a16112018dc095dba09f (patch)
treefff007e7b0486d8213e74e4d40e8ff8f6cf01466 /sass
parent19eaed9e806484eae46ab4146093e384d67d76aa (diff)
downloadblog-c67f71782d24180ce2e3a16112018dc095dba09f.tar.gz
blog-c67f71782d24180ce2e3a16112018dc095dba09f.zip
openwrt: migration to dsa
Diffstat (limited to 'sass')
-rw-r--r--sass/site.scss13
1 files changed, 12 insertions, 1 deletions
diff --git a/sass/site.scss b/sass/site.scss
index 618a1ac..390ecf6 100644
--- a/sass/site.scss
+++ b/sass/site.scss
@@ -13,6 +13,7 @@ $color-link : #50fa7b;
//$color-bg : #c3c3c3;
//$color-fg : #000000;
//$color-link : #010081;
+//$color-link-shadow: rgba(0, 128, 128, .3);
// -- root style
@@ -72,7 +73,7 @@ h6::before {
content: "##### "
}
-// -- link settings
+// -- link style
a {
color: $color-link;
@@ -83,12 +84,22 @@ a {
a:hover {
background-color: $color-link;
color: $color-bg;
+ @if variable-exists(color-link-shadow) {
+ box-shadow: 6px 6px $color-link-shadow;
+ }
}
h1 a, h2 a, h3 a, h4 a, h5 a {
color: $color-fg;
}
+// -- image style
+
+img {
+ width: 100%;
+ height: auto;
+}
+
// -- list style
ul {