aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorJulien Dessaux2021-08-16 12:35:32 +0200
committerJulien Dessaux2021-08-16 12:35:32 +0200
commit78a6f5505d585fae4d32ae53304f7a1981263f4b (patch)
treef06b13877272ee11f6e6b4e115263326da4200f2 /assets
parentFix w3c css validator errors and updated fonts (diff)
downloadwww-78a6f5505d585fae4d32ae53304f7a1981263f4b.tar.gz
www-78a6f5505d585fae4d32ae53304f7a1981263f4b.tar.bz2
www-78a6f5505d585fae4d32ae53304f7a1981263f4b.zip
Switched to a solarized color scheme
Diffstat (limited to 'assets')
-rw-r--r--assets/footer.css6
-rw-r--r--assets/header.css10
-rw-r--r--assets/pagination.css21
-rw-r--r--assets/solarized.css36
4 files changed, 55 insertions, 18 deletions
diff --git a/assets/footer.css b/assets/footer.css
index e27317c..dfcbbce 100644
--- a/assets/footer.css
+++ b/assets/footer.css
@@ -1,11 +1,11 @@
footer {
- background-color: #30638e;
+ background-color: #002b36;
padding: 10px;
}
footer p {
- color: lightgray;
+ color: #859900;
text-align: center;
}
footer a {
- color: lightgray;
+ color: #859900;
}
diff --git a/assets/header.css b/assets/header.css
index fc4c83e..5e45df4 100644
--- a/assets/header.css
+++ b/assets/header.css
@@ -1,5 +1,5 @@
header {
- background-color: #30638e;
+ background-color: #002b36;
}
header nav ul {
list-style-type: none;
@@ -14,19 +14,15 @@ header nav ul li {
}
header nav ul li a {
display: block;
- color: lightgray;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
-header nav ul li a:hover {
- color: black;
+.nav-menu-active {
+ background-color: #073642;
}
.nav-menu-title {
float: left;
text-transform: uppercase;
font-weight: 700;
}
-.nav-menu-active {
- color: white;
-}
diff --git a/assets/pagination.css b/assets/pagination.css
index ba568fb..abcb0c3 100644
--- a/assets/pagination.css
+++ b/assets/pagination.css
@@ -3,6 +3,9 @@
list-style:none;
border-radius:.25rem;
}
+.pagination li {
+ background-color: #002b36;
+}
.pagination li a {
border:1px solid rgba(0,0,0,.1);
position:relative;
@@ -11,23 +14,25 @@
line-height:1.25;
text-decoration: none;
}
-.pagination li:first-child a {
+.pagination .pagination-enabled:first-child a {
border-top-left-radius:.25rem;
border-bottom-left-radius:.25rem
}
-.pagination li:last-child a {
+.pagination .pagination-enabled:last-child a {
border-top-right-radius:.25rem;
border-bottom-right-radius:.25rem
}
-.pagination li a:hover {
- color:#1e53a0;
- background-color:#eee;
+.pagination .pagination-enabled a:hover {
+ background-color: #073642;
z-index: 999;
}
-.pagination-disabled {
- color: lightgray;
+.pagination-disabled a {
+ color: #839496;
+}
+.pagination-disabled a:hover {
+ color: #839496;
}
.pagination-active a {
color: white;
- background-color: #30638e;
+ background-color: #073642;
}
diff --git a/assets/solarized.css b/assets/solarized.css
new file mode 100644
index 0000000..e00a93f
--- /dev/null
+++ b/assets/solarized.css
@@ -0,0 +1,36 @@
+html {
+ background-color: #002b36;
+ color: #839496;
+}
+body {
+ background-color: #073642;
+}
+code {
+ background-color: #073642;
+}
+a {
+ color: #b58900;
+}
+a:visited {
+ color: #cb4b16;
+}
+a:hover {
+ color: #cb4b16;
+}
+h1 {
+ color: #dc322f;
+}
+h2,
+h3,
+h4,
+h5,
+h6 {
+ color: #859900;
+}
+pre {
+ background-color: #002b36;
+ color: #839496;
+}
+pre, code {
+ background-color: #002b36;
+}