mirror of
https://github.com/mbirth/wiki.git
synced 2024-12-25 23:04:06 +00:00
Improve SASS.
This commit is contained in:
parent
0c8a0b3e90
commit
06e5a95ad8
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
---
|
---
|
||||||
$font: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace
|
$font: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace
|
||||||
|
$maincolor: #678b22
|
||||||
|
|
||||||
body
|
body
|
||||||
margin: 0
|
margin: 0
|
||||||
@ -37,9 +38,9 @@ li
|
|||||||
h2 - project description
|
h2 - project description
|
||||||
|
|
||||||
header
|
header
|
||||||
background: rgba(0, 0, 0, 0.1)
|
background: rgba(black, 0.1)
|
||||||
width: 100%
|
width: 100%
|
||||||
border-bottom: 1px dashed #678b22
|
border-bottom: 1px dashed $maincolor
|
||||||
padding: 20px 0
|
padding: 20px 0
|
||||||
margin: 0 0 40px 0
|
margin: 0 0 40px 0
|
||||||
|
|
||||||
@ -49,8 +50,8 @@ header h1, #pagetitle
|
|||||||
weight: bold
|
weight: bold
|
||||||
family: $font
|
family: $font
|
||||||
line-height: 1.5
|
line-height: 1.5
|
||||||
color: #678b22
|
color: $maincolor
|
||||||
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1), 0 0 10px rgba(181, 232, 83, 0.1)
|
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
|
||||||
@ -110,7 +111,7 @@ header h2
|
|||||||
|
|
||||||
th
|
th
|
||||||
text-align: left
|
text-align: left
|
||||||
border-bottom: 1px dashed #678b22
|
border-bottom: 1px dashed $maincolor
|
||||||
padding: 5px 10px
|
padding: 5px 10px
|
||||||
|
|
||||||
td
|
td
|
||||||
@ -124,9 +125,9 @@ h1, h2, h3, h4, h5, h6
|
|||||||
font:
|
font:
|
||||||
weight: normal
|
weight: normal
|
||||||
family: $font
|
family: $font
|
||||||
color: #678b22
|
color: $maincolor
|
||||||
letter-spacing: -0.03em
|
letter-spacing: -0.03em
|
||||||
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1), 0 0 10px rgba(181, 232, 83, 0.1)
|
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:
|
||||||
@ -141,7 +142,7 @@ ul li
|
|||||||
font:
|
font:
|
||||||
family: $font
|
family: $font
|
||||||
size: 13px
|
size: 13px
|
||||||
color: #678b22
|
color: $maincolor
|
||||||
margin:
|
margin:
|
||||||
left: -37px
|
left: -37px
|
||||||
right: 21px
|
right: 21px
|
||||||
@ -160,10 +161,10 @@ pre
|
|||||||
padding: 10px
|
padding: 10px
|
||||||
|
|
||||||
pre, code
|
pre, code
|
||||||
background: rgba(0, 0, 0, 0.1)
|
background: rgba(black, 0.1)
|
||||||
border: 1px solid rgba(255, 255, 255, 0.85)
|
border: 1px solid rgba(white, 0.85)
|
||||||
font-size: 14px
|
font-size: 14px
|
||||||
color: #678b22
|
color: $maincolor
|
||||||
border-radius: 2px
|
border-radius: 2px
|
||||||
-moz-border-radius: 2px
|
-moz-border-radius: 2px
|
||||||
-webkit-border-radius: 2px
|
-webkit-border-radius: 2px
|
||||||
@ -184,8 +185,8 @@ pre > code
|
|||||||
hr
|
hr
|
||||||
height: 0
|
height: 0
|
||||||
border: 0
|
border: 0
|
||||||
border-bottom: 1px dashed #678b22
|
border-bottom: 1px dashed $maincolor
|
||||||
color: #678b22
|
color: $maincolor
|
||||||
|
|
||||||
|
|
||||||
// Buttons
|
// Buttons
|
||||||
@ -195,17 +196,17 @@ hr
|
|||||||
background: -webkit-linear-gradient(top, rgba(215, 215, 215, 0.3), rgba(220, 220, 220, 0.3) 50%, rgba(245, 245, 245, 0.3) 50%, rgba(255, 255, 255, 0.3))
|
background: -webkit-linear-gradient(top, rgba(215, 215, 215, 0.3), rgba(220, 220, 220, 0.3) 50%, rgba(245, 245, 245, 0.3) 50%, rgba(255, 255, 255, 0.3))
|
||||||
padding: 8px 18px
|
padding: 8px 18px
|
||||||
border-radius: 50px
|
border-radius: 50px
|
||||||
border: 2px solid rgba(255, 255, 255, 0.7)
|
border: 2px solid rgba(white, 0.7)
|
||||||
border-bottom: 2px solid rgba(255, 255, 255, 0.7)
|
border-bottom: 2px solid rgba(white, 0.7)
|
||||||
border-top: 2px solid rgba(255, 255, 255, 1)
|
border-top: 2px solid rgba(white, 1)
|
||||||
color: rgba(40, 40, 40, 0.8)
|
color: rgba(40, 40, 40, 0.8)
|
||||||
font:
|
font:
|
||||||
family: Helvetica, Arial, sans-serif
|
family: Helvetica, Arial, sans-serif
|
||||||
weight: bold
|
weight: bold
|
||||||
size: 13px
|
size: 13px
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75)
|
text-shadow: 0 -1px 0 rgba(black, 0.75)
|
||||||
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.05)
|
box-shadow: inset 0 1px 0 rgba(black, 0.05)
|
||||||
|
|
||||||
&:hover
|
&:hover
|
||||||
background: -webkit-linear-gradient(top, rgba(215, 215, 215, 0.6), rgba(220, 220, 220, 0.6) 50%, rgba(245, 245, 245, 0.8) 50%, rgba(255, 255, 255, 0.8))
|
background: -webkit-linear-gradient(top, rgba(215, 215, 215, 0.6), rgba(220, 220, 220, 0.6) 50%, rgba(245, 245, 245, 0.8) 50%, rgba(255, 255, 255, 0.8))
|
||||||
|
Loading…
Reference in New Issue
Block a user