mirror of
https://github.com/mbirth/wiki.git
synced 2024-12-25 23:04:06 +00:00
Added mixin to Sass.
This commit is contained in:
parent
e86f6323e3
commit
c47f016cf7
@ -3,6 +3,9 @@
|
|||||||
$font: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace
|
$font: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace
|
||||||
$maincolor: #678b22
|
$maincolor: #678b22
|
||||||
|
|
||||||
|
=text-shadow
|
||||||
|
text-shadow: 0 1px 1px rgba(black, 0.1), 0 0 5px rgba(lighten($maincolor, 33%), 0.1), 0 0 10px rgba(lighten($maincolor, 33%), 0.1)
|
||||||
|
|
||||||
body
|
body
|
||||||
margin: 0
|
margin: 0
|
||||||
padding: 0
|
padding: 0
|
||||||
@ -45,13 +48,13 @@ header
|
|||||||
margin: 0 0 40px 0
|
margin: 0 0 40px 0
|
||||||
|
|
||||||
header h1, #pagetitle
|
header h1, #pagetitle
|
||||||
|
+text-shadow
|
||||||
font:
|
font:
|
||||||
size: 30px
|
size: 30px
|
||||||
weight: bold
|
weight: bold
|
||||||
family: $font
|
family: $font
|
||||||
line-height: 1.5
|
line-height: 1.5
|
||||||
color: $maincolor
|
color: $maincolor
|
||||||
text-shadow: 0 1px 1px rgba(black, 0.1), 0 0 5px rgba(lighten($maincolor, 33%), 0.1), 0 0 10px rgba(lighten($maincolor, 33%), 0.1)
|
|
||||||
-webkit-font-smoothing: antialiased
|
-webkit-font-smoothing: antialiased
|
||||||
|
|
||||||
// Site name
|
// Site name
|
||||||
@ -126,12 +129,12 @@ section img
|
|||||||
max-width: 100%
|
max-width: 100%
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6
|
h1, h2, h3, h4, h5, h6
|
||||||
|
+text-shadow
|
||||||
font:
|
font:
|
||||||
weight: normal
|
weight: normal
|
||||||
family: $font
|
family: $font
|
||||||
color: $maincolor
|
color: $maincolor
|
||||||
letter-spacing: -0.03em
|
letter-spacing: -0.03em
|
||||||
text-shadow: 0 1px 1px rgba(black, 0.1), 0 0 5px rgba(lighten($maincolor, 33%), 0.1), 0 0 10px rgba(lighten($maincolor, 33%), 0.1)
|
|
||||||
|
|
||||||
dt
|
dt
|
||||||
font:
|
font:
|
||||||
@ -247,3 +250,4 @@ a
|
|||||||
|
|
||||||
.cf
|
.cf
|
||||||
zoom: 1
|
zoom: 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user