This repository has been archived by the owner on Aug 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
167 lines (140 loc) · 2.78 KB
/
style.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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
@import "http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic,700italic|Source+Code+Pro:300|Bitter:400,700,400italic";
// fonts
$bodyfont: "Source Sans Pro", "Droid Sans", Helvetica, Arial, sans-serif;
$titlefont: Bitter, $bodyfont;
$codefont: "Source Code Pro", Cousine, "Droid Sans Mono", monospace;
// colors
$lightgray: hsl(120, 0%, 50%);
$blue: hsl(200, 70%, 40%);
$lightblue: hsl(200, 70%, 50%);
body {
padding: 0;
margin: 0;
font-family: $bodyfont;
background: url(assets/gray_jean.png);
font-size: 18px;
}
p {
font-family: $bodyfont;
line-height: 1.5em;
padding: 0 0 1em;
margin: 0;
}
ul, ol {
line-height: 1.5em;
margin: 0;
padding: 0 0 1em 2em ;
}
h1, h2, h3, h4 {
font-family: $titlefont;
font-weight: 400;
padding: 0;
margin: .5em 0;
}
h1 { font-size: 2.5em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1em; }
hr {
height: 0px;
padding: 1em 0 0;
margin: 0 0 1em;
border: 0px solid transparent;
border-bottom: 1px solid lighten($lightgray, 30%);
&.notop {
padding: 0;
}
}
a {
color: $blue;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
header {
h1 {
text-align: center;
padding: 0;
margin: 0 0 .5em;
}
.subtitle {
font-size: 1.2em;
color: $lightgray;
text-align: center;
//font-family: $titlefont;
font-style: italic;
padding-bottom: 20px;
border-bottom: 1px solid lighten($lightgray, 30%);
}
}
footer {
p {
color: $lightgray;
//font-style: italic;
text-align: center;
font-size: .95em;
}
a {
color: $lightblue;
}
}
code {
font-family: $codefont;
font-size: 15px;
font-weight: 300;
border: 1px solid lighten($lightgray, 30%);
padding: 0 4px;
border-radius: 3px;
}
pre {
padding-bottom: 1em;
overflow-x: scroll;
}
h2.info {
font-style: italic;
color: rgb(100, 100, 100);
font-weight: 400;
text-align: center;
}
.wrap {
width: 80%;
max-width: 800px;
min-width: 400px;
background: white;
//border-radius: 5px;
padding: 50px;
margin: -35em auto 50px;
box-shadow: 0px 0px 5px $lightgray;
}
.hero-img {
background-image: url(assets/finalfrontier-crop.jpg);
//background-size: 100%;
background-repeat: none;
background-position: center bottom;
height: 750px;
width: 100%;
border-bottom: 10px solid #444;
padding: 0; margin: 0;
background-color: black;
}
nav {
border-top: 1px solid lighten($lightgray, 30%);
border-bottom: 1px solid lighten($lightgray, 30%);
margin-bottom: 1em;
padding: 1em 0;
ul {
list-style: none;
padding: 0;
width: auto;
display: table;
margin: 0 auto;
}
li {
display: inline-block;
padding: 0 .5em;
border-right: 1px solid lighten($lightgray, 30%);
&:last-child {
border-right: none;
}
}
}