mirror of
https://gitlab.com/parroquia-san-leandro/cancionero-web.git
synced 2026-01-28 13:07:58 +01:00
Move to less, improved style, fixed bugs
* Redirection wasn't being encoded properly * CSS to LESS transition * Improved Makefile * Explained red color in index * Unified link and button styles
This commit is contained in:
parent
67bedb49e4
commit
c7bca76c8c
15 changed files with 268 additions and 220 deletions
37
res/index.less
Normal file
37
res/index.less
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
@import "colors";
|
||||
|
||||
.songs {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
> a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
> li {
|
||||
background-color: @secondary;
|
||||
margin: .5em;
|
||||
padding: .6em;
|
||||
border-radius: @border-radius;
|
||||
.number {
|
||||
font-weight: bolder;
|
||||
color: black;
|
||||
}
|
||||
&:hover {
|
||||
color: @text-hover;
|
||||
background-color: @secondary-hover;
|
||||
transition-duration: @transition;
|
||||
}
|
||||
&.hasChords {
|
||||
background-color: @nochordscolor;
|
||||
&:hover {
|
||||
color: @text-hover;
|
||||
background-color: @nochordscolor-hover;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
span.hasChords {
|
||||
background-color: @nochordscolor;
|
||||
padding: 0.3em 0.4em;
|
||||
border-radius: @border-radius;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue