summaryrefslogtreecommitdiffstats
path: root/_static/css
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-05-29 18:41:55 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-05-29 18:41:55 +0200
commitbd4e529b57b3a70248845c48e4f54e3ec46b8035 (patch)
treeab2226f6f43b3d37242a34b70add2db5f88b63db /_static/css
parented5b2c1bc595a5fe2e64071c5998193607e4c924 (diff)
downloadalpine-mksite-bd4e529b57b3a70248845c48e4f54e3ec46b8035.tar.bz2
alpine-mksite-bd4e529b57b3a70248845c48e4f54e3ec46b8035.tar.xz
downloads: refactor ordering
There are no way to predict the order in which lua will iterate over a hashtable so we use an array instead. We also set a fixed number of colors which we pick insstead of hardcode the flavor name in the CSS. This is so we can change name of the flavors without needing to modify the CSS.
Diffstat (limited to '_static/css')
-rw-r--r--_static/css/styles.css15
1 files changed, 7 insertions, 8 deletions
diff --git a/_static/css/styles.css b/_static/css/styles.css
index 46e925c..a81e2f5 100644
--- a/_static/css/styles.css
+++ b/_static/css/styles.css
@@ -366,14 +366,13 @@ footer a { color: #ddd; }
* http://www.colourlovers.com/home/trends/interior-looks/7760/Dive_Into_Color
*/
-.flavor-alpine-standard h2 { background: #CBB063; }
-.flavor-alpine-extended h2 { background: #AA8B4A; }
-.flavor-alpine-vanilla h2 { background: #3C2C1F; }
-.flavor-alpine-virt h2 { background: #B63731; }
-.flavor-alpine-xen h2 { background: #E68804; }
-.flavor-alpine-rpi h2 { background: #376160; }
-.flavor-alpine-uboot h2 { background: #36384D; }
-.flavor-alpine-minirootfs h2 { background: #36384D; }
+.flavor-color-0 h2 { background: #CBB063; }
+.flavor-color-1 h2 { background: #AA8B4A; }
+.flavor-color-2 h2 { background: #3C2C1F; }
+.flavor-color-3 h2 { background: #B63731; }
+.flavor-color-4 h2 { background: #E68804; }
+.flavor-color-5 h2 { background: #376160; }
+.flavor-color-6 h2 { background: #36384D; }
/*
* MEDIA queries