From c67f71782d24180ce2e3a16112018dc095dba09f Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Wed, 24 May 2023 23:20:42 +0200 Subject: openwrt: migration to dsa --- sass/site.scss | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'sass') 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 { -- cgit v1.2.3