summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorNina Siessegger <n.siessegger@zeromail.org>2020-01-09 13:52:56 +0100
committerNina Siessegger <n.siessegger@zeromail.org>2020-01-13 14:15:43 +0100
commit3d458a994311f4fecab20152a8e11063a5c5714e (patch)
tree60d37ae27f25cc891c6d21ed1364f47ce187ac7b /assets
parent3fb5451bd9235ba1b55c3420211ca7130b5a4a36 (diff)
Style links
Diffstat (limited to 'assets')
-rw-r--r--assets/css/styles.scss36
1 files changed, 30 insertions, 6 deletions
diff --git a/assets/css/styles.scss b/assets/css/styles.scss
index 7813b57..dd7f0df 100644
--- a/assets/css/styles.scss
+++ b/assets/css/styles.scss
@@ -6,8 +6,12 @@
@import 'navbar';
// Override bulma variables
-$family-sans-serif: "DejaVuSans", sans-serif;
+$family-sans-serif: "DejaVuSans",
+sans-serif;
$family-monospace: "DejaVuSansMono", monospace;
+$green: #336633;
+$green-light: #80FF80;
+$link: $green;
@import "bulma";
@@ -34,13 +38,14 @@ h1 {
.news {
h2 {
- font-size: 2rem;
+ font-size: 1.5rem;
font-weight: 600;
line-height: 1.125;
margin-top: 1.5rem;
}
h3 {
+ font-size: 1rem;
margin-bottom: 1.5rem;
font-family: $family-monospace;
}
@@ -50,9 +55,28 @@ h1 {
h3 {
margin-bottom: 1.5rem;
font-family: $family-monospace;
- text-align: center;
- }
- h1 {
- text-align: center;
}
+}
+
+a.navbar-item:focus,
+a.navbar-item:focus-within,
+a.navbar-item:hover,
+a.navbar-item.is-active,
+.navbar-link:focus,
+.navbar-link:focus-within,
+.navbar-link:hover,
+.navbar-link.is-active,
+.content a
+ {
+ background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), color-stop(35%, rgba(255, 255, 255, 0)), color-stop(35%, #80FF80), color-stop(75%, #80FF80), color-stop(75%, rgba(255, 255, 255, 0)));
+ background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 35%, #80FF80 35%, #80FF80 75%, rgba(255, 255, 255, 0) 75%);
+ background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 35%, #80FF80 35%, #80FF80 75%, rgba(255, 255, 255, 0) 75%);
+ background-image: linear-gradient(to bottom,
+
+ rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 35%, #80FF80 35%, #80FF80 75%,
+ rgba(255, 255, 255, 0) 75%);
+
+ background-clip: content-box, padding-box;
+ text-decoration: none !important;
+ color: black;
} \ No newline at end of file