aboutsummaryrefslogtreecommitdiff
path: root/v2/src/content
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-04-09 18:59:09 -0300
committerEuAndreh <eu@euandre.org>2023-04-09 19:05:39 -0300
commit19a8b995c59cce5315e1d121054f9c27aad5c960 (patch)
treef2c2d83751245004beed21b31d973c1d412cd026 /v2/src/content
parentv2: CSS dark mode, including SVGs (diff)
downloadeuandre.org-19a8b995c59cce5315e1d121054f9c27aad5c960.tar.gz
euandre.org-19a8b995c59cce5315e1d121054f9c27aad5c960.tar.xz
v2: Support translated alternates in <nav>
Diffstat (limited to 'v2/src/content')
-rw-r--r--v2/src/content/style.css23
1 files changed, 21 insertions, 2 deletions
diff --git a/v2/src/content/style.css b/v2/src/content/style.css
index 7797065..a4a635f 100644
--- a/v2/src/content/style.css
+++ b/v2/src/content/style.css
@@ -50,8 +50,15 @@ a:visited {
/* Navigation header */
-nav a {
+nav {
+ margin-top: 8px;
+}
+
+nav a, nav a:visited {
color: var(--nav-color);
+}
+
+nav a {
font-size: 18px;
margin: 12px;
text-decoration: none;
@@ -61,9 +68,21 @@ nav ul, nav li {
display: inline;
}
-nav ul li a {
+nav ul.translation-list a, nav ul.translation-list a:visited {
color: var(--color);
font-size: 14px;
+}
+
+nav ul.translation-list {
+ display: flex;
+ justify-content: flex-end;
+ font-size: 16px;
+ margin: 0;
+ padding: 0;
+}
+
+nav ul li a {
+ font-size: 18px;
margin: 6px;
}