mirror of
https://gitlab.com/parroquia-san-leandro/cancionero-web.git
synced 2026-01-28 13:07:58 +01:00
local resources for generator style
This commit is contained in:
parent
fbb5432c36
commit
2bf763c893
11 changed files with 234 additions and 5 deletions
69
res_gen/less/main.less
Normal file
69
res_gen/less/main.less
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
@import "colors";
|
||||
|
||||
h1 {
|
||||
color: @title;
|
||||
margin-inline: auto;
|
||||
width: max-content;
|
||||
max-width: 100%;
|
||||
text-align: center;
|
||||
@media (prefers-color-scheme: dark) {
|
||||
color: @title-dark;
|
||||
}
|
||||
> a, > a:hover, > a:active, > a:visited {
|
||||
color: @title;
|
||||
@media (prefers-color-scheme: dark) {
|
||||
color: @title-dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
h2, h3 {
|
||||
color: @subtitle;
|
||||
font-weight: lighter;
|
||||
margin-bottom: 0;
|
||||
@media (prefers-color-scheme: dark) {
|
||||
color: @subtitle-dark;
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
color: @text;
|
||||
background: @background;
|
||||
max-width: 75em;
|
||||
margin: 1em;
|
||||
@media (prefers-color-scheme: dark) {
|
||||
color: @text-dark;
|
||||
background: @background-dark;
|
||||
}
|
||||
@media (min-width: 75em + 1em) {
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
> span {
|
||||
color: @text;
|
||||
padding: 0.5em;
|
||||
margin: 0.2em;
|
||||
display: inline-block;
|
||||
border-radius: @border-radius * 5;
|
||||
border: 1px solid @text;
|
||||
@media (prefers-color-scheme: dark) {
|
||||
color: @text-dark;
|
||||
border-color: @text-dark;
|
||||
}
|
||||
&:hover {
|
||||
background: @secondary-hover;
|
||||
transition-duration: @transition;
|
||||
@media (prefers-color-scheme: dark) {
|
||||
background: @secondary-hover-dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue