summaryrefslogtreecommitdiffstats
path: root/themes/aoidh/assets/css/aoidh.css
diff options
context:
space:
mode:
Diffstat (limited to 'themes/aoidh/assets/css/aoidh.css')
-rw-r--r--themes/aoidh/assets/css/aoidh.css46
1 files changed, 25 insertions, 21 deletions
diff --git a/themes/aoidh/assets/css/aoidh.css b/themes/aoidh/assets/css/aoidh.css
index 5307ee0..0b787b7 100644
--- a/themes/aoidh/assets/css/aoidh.css
+++ b/themes/aoidh/assets/css/aoidh.css
@@ -12,32 +12,29 @@ html {
}
body {
- display: block;
- float: none;
- margin-left: auto;
- margin-right: auto;
- line-height: 1.5rem;
- max-width: 60rem;
- margin-top: 2rem;
- margin-bottom: 2rem;
+ margin: 2rem auto;
padding: .5rem 1rem .25rem;
- border: 1px solid var(--dark-gray);
+ max-width: 60rem;
+ border: 1px solid var(--dark-yellow);
box-shadow: 2px 2px var(--dark-yellow);
}
body {
+ line-height: 1.35rem;
font-family: serif;
text-rendering: optimizeLegibility;
color: #000;
background: #fff;
}
-header {
- margin-bottom: 2rem;
+.content {
+ margin-left: auto;
+ margin-right: auto;
+ max-width: 40rem;
}
-nav {
- display: block;
+header {
+ margin-bottom: 2rem;
}
nav ul {
@@ -46,6 +43,7 @@ nav ul {
}
nav a {
+ text-decoration: none;
color: #000;
background: #fff;
padding: .2rem 1.5rem .2rem 1.5rem;
@@ -58,11 +56,6 @@ nav li:first-child a {
margin-left: 0;
}
-nav a:hover, nav a:focus {
- color: #000;
- background: var(--light-blue);
-}
-
nav a:active {
color: #000;
background: #fff;
@@ -75,13 +68,24 @@ ul {
p {
text-align: justify;
- max-width: 40rem;
+ hyphens: auto;
+ text-justify: inter-word;
}
a {
+ text-decoration: underline;
+ border: 1px solid transparent;
+}
+
+a:hover, nav a:focus {
text-decoration: none;
+ color: #000;
+ background: var(--light-blue);
}
-p a {
- text-decoration: underline;
+a:active {
+ text-decoration: none;
+ color: #000;
+ background: var(--light-blue);
+ border: 1px solid var(--dark-blue);
}