Commit 20904eff authored by Nicolas Lenz's avatar Nicolas Lenz

CSS comments

parent e9de6425
Pipeline #710 passed with stage
in 10 seconds
// For the palette source see https://git.eisfunke.com/document/palette.
$colors: (
"primary": (#660000, #820000, #a10000, #c02b00, #da4e00, #e97300, #f59300, #ffb100, #ffcd5e, #ffe58d, #fff8b1),
"secondary": (#191228, #2b253c, #403854, #564c6e, #6c6189, #82789e, #9890b0, #afa8c2, #c5c0d5, #dcd8e7, #f2effa)
......@@ -12,7 +14,6 @@ $shade-names: (
@return nth($tone-list, index($shade-names, $shade))
}
// palette.xhtml colors
@each $color-name in map-keys($colors) {
@for $i from 1 through 11 {
##{$color-name}-#{nth($shade-names, $i)} {
......
......@@ -351,6 +351,7 @@ footer {
// Buttons
// Class for a fancy button. Must be used together with either the .low or .high class.
a.button {
padding: 4px 8px;
margin: 0 0.4rem 0 0;
......@@ -368,6 +369,7 @@ a.button {
color: white;
}
// Low emphasis button, same color as background but darker.
a.button.low[href] {
background-color: transparent;
......@@ -380,6 +382,7 @@ a.button.low[href] {
}
}
// High emphasis button, in the primary color.
a.button.high[href] {
background-color: palette(primary, medium);
......@@ -389,6 +392,7 @@ a.button.high[href] {
}
}
// Button links without a target are grayed out.
a.button:not([href]) {
background-color: rgba(100,100,100,0.3);
box-shadow: none;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment