-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.scss
150 lines (138 loc) · 3.11 KB
/
styles.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
@import "reset";
@import "settings";
@import "mixins";
html{
background:$html url(texture.png) -24px 13px repeat;
}
body{
font-family:$normalfont;
font-size:$basefontsize;
border: $thickness solid $border;
max-width: 840px;
margin: 10px auto;
box-shadow: 8px 8px 8px rgba(0,0,0,0.2),-8px 8px 8px rgba(0,0,0,0.2);
}
p,li{
@include text;
line-height:1.1;
margin: 0.2em 0 0.8em;
}
h1,h2,h3,h4,h5,h6{@include headings($black);}
h1{font-size:3.2em;}
h2{font-size:2.6em;}
h3{font-size:2em;}
header{
background: $header;
border-bottom: $thickness solid $border;
padding:20px;
hgroup{
h1{
margin:0;
a{
display:block;
margin:0 auto;
background:url(/logo.png) transparent 0 0 no-repeat;
text-indent:-12345px;
height:120px;width:120px;
&:hover{ background:url(/logo.png) transparent -120px 0 no-repeat; }
&:active{ position: relative; top:4px;}
}
}
h2{
color: #fff;
margin: 10px 0 0;
text-align: center;
font-size:1.8em;
font-weight: normal;
letter-spacing:0.26em;
}
}
}
#banner{
background: $banner;
padding: 20px 100px;
border-bottom: $thickness solid $border;
blockquote{
@include headings($quotetext);
line-height: 0.96;
font-size:2.6em;
text-align:center;
}
cite{
color:$quotetext;
padding:0;margin:0;
font-style: italic;
font-size:1.3em;
font-weight: bold;
display: block;
text-align: center;
&:before{content:"\2605";padding-right:5px;font-style: normal;font-family: "Arial Unicode MS", Quivira, Symbola, Code2000, STIX,
"Linux Libertine", MingLiU, "DFKai-SB";}
&:after{content:"\2605";padding-left:5px;font-style: normal;}
}
}
#main{
@include clearfix;
padding: 20px 5%;
background:$main;
border-bottom: $thickness solid $border;
@include links($black,$black,$yellow);
.content{float:left;width:$mainwidth;}
.sidebar{
@include zero;
float:right;
width:$sidebarwidth;
list-style:none;
li{
margin:0 20px 0 0;
padding: 4px 0;
font-size:1.1em;
border-top:solid $black $thickness/2;
ul{margin:0;padding: 0 1.1em;}
li{border:0;list-style:square;}
}
h1{font-size:2.6em;color:$black;}
p{font-size: 1.1em;}
}
p{
max-width:26em;
text-shadow: 1px 1px 0 rgba($white,0.3);
}
form{
width:100%;
label{
display:block;
@include text;
text-shadow: 1px 1px 0 rgba($white,0.3);
}
textarea{
width:90%;
box-sizing:border-box;
border: $thickness/2 solid $black;
font-family:$normalfont;
background: transparent;
display: block;
padding: 10px;
&:focus{outline:none;}
}
#send{
font-family:$normalfont;
background: $yellow;
border: $thickness/2 solid $black;
color: $black;
color:$text;
font-size:1.4em;
padding: 0.4em 0.3em;
font-weight: bold;
text-transform: uppercase;
}
}
}
footer{
background:$footer;
padding:20px;
small{font-size:0.85em;display:block;}
p{color: $white;}
@include links($yellow,$black);
}
@import "responsive";