1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-09-20 06:33:24 +01:00

More SASS.

This commit is contained in:
Markus Birth 2015-02-22 17:22:34 +01:00
parent f7209cf6fc
commit cda6717d3f

View File

@ -35,6 +35,11 @@ abbr, acronym
#comments #comments
clear: both clear: both
$noteclassic: #99d
$noteimportant: #ff0
$notewarning: #d99
$notetip: #9d9
.noteclassic, .noteimportant, .notewarning, .notetip .noteclassic, .noteimportant, .notewarning, .notetip
margin: 2em margin: 2em
margin-left: auto margin-left: auto
@ -53,27 +58,23 @@ abbr, acronym
border-radius: 20px border-radius: 20px
.noteclassic .noteclassic
border: 2px solid #99d border: 2px solid $noteclassic
background-color: rgba(153, 153, 221, 0.1) background-color: rgba($noteclassic, 0.1)
// background-color: #eef
background-image: url(../images/note.png) background-image: url(../images/note.png)
.noteimportant .noteimportant
border: 2px solid #ff0 border: 2px solid $noteimportant
background-color: rgba(255, 255, 0, 0.1) background-color: rgba($noteimportant, 0.1)
// background-color: #ffc
background-image: url(../images/important.png) background-image: url(../images/important.png)
.notewarning .notewarning
border: 2px solid #d99 border: 2px solid $notewarning
background-color: rgba(221, 153, 153, 0.1) background-color: rgba($notewarning, 0.1)
// background-color: #fdd
background-image: url(../images/warning.png) background-image: url(../images/warning.png)
.notetip .notetip
border: 2px solid #9d9 border: 2px solid $notetip
background-color: rgba(153, 221, 153, 0.1) background-color: rgba($notetip, 0.1)
// background-color: #dfd
background-image: url(../images/tip.png) background-image: url(../images/tip.png)
kbd kbd