1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-12-25 23:04:06 +00:00

More Sass optimisations.

This commit is contained in:
Markus Birth 2015-02-23 14:17:02 +01:00
parent c47f016cf7
commit eca5b333d7

View File

@ -40,14 +40,7 @@ li
h1 - project name h1 - project name
h2 - project description h2 - project description
header #pagetitle
background: rgba(black, 0.1)
width: 100%
border-bottom: 1px dashed $maincolor
padding: 20px 0
margin: 0 0 40px 0
header h1, #pagetitle
+text-shadow +text-shadow
font: font:
size: 30px size: 30px
@ -57,21 +50,29 @@ header h1, #pagetitle
color: $maincolor color: $maincolor
-webkit-font-smoothing: antialiased -webkit-font-smoothing: antialiased
// Site name header
header h1 background: rgba(black, 0.1)
letter-spacing: -1px width: 100%
margin: 0 0 0 -40px border-bottom: 1px dashed $maincolor
padding: 20px 0
margin: 0 0 40px 0
&:before // Site name
content: "./ " h1
font-size: 24px @extend #pagetitle
letter-spacing: -1px
margin: 0 0 0 -40px
// Site description &:before
header h2 content: "./ "
font: font-size: 24px
size: 18px
weight: 300 // Site description
color: #666 h2
font:
size: 18px
weight: 300
color: #666
#downloads .btn #downloads .btn
display: inline-block display: inline-block
@ -123,7 +124,7 @@ header h2
td td
padding: 5px 10px padding: 5px 10px
vertical-align: top vertical-align: top
section img section img
max-width: 100% max-width: 100%
@ -251,3 +252,5 @@ a
.cf .cf
zoom: 1 zoom: 1
// vim: set ts=4:sw=4:expandtab