-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbase.scss
120 lines (104 loc) · 2.36 KB
/
base.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
$fontTitle: "x14y24HeadUpDisplay", 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
$fontText: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
$picoCartDarkGray: #303030;
$picoCartLightGray: #626562;
@font-face {
font-family: x14y24HeadUpDisplay;
src: url("/static/fnts/x14y24pxHeadUpDaisy.ttf")
}
body {
background-color: $picoCartDarkGray;
margin: 0;
min-height: 100vh;
color: white;
font-family: $fontText;
display: flex;
flex-direction: column;
justify-content: space-around;
}
// Small style helper
%shadowed {
-webkit-filter: drop-shadow(2px 2px 2px #222 );
filter: drop-shadow(2px 2px 2px #222);
}
// Making a common font style for titles
%title-style {
color: white;
font-family: $fontTitle;
}
%link-style {
color:lightblue;
text-decoration: none;
}
%banner-style {
@extend %shadowed;
background: $picoCartLightGray;
margin: 0;
display: block;
flex-grow: 0;
flex-shrink: 0;
padding: 8px;
padding-left: 24px;
}
#site-header {
@extend %banner-style;
background: $picoCartLightGray;
padding: 8px;
padding-left: 24px;
margin-bottom: 24px;
h1 {
@extend %title-style;
margin: 0;
font-size: 48px;
}
}
#site-footer {
@extend %banner-style;
text-align: center;
margin-top: 24px;
}
main {
flex-grow: 1;
margin-left: 48px;
margin-right: 48px;
#showing {
@extend %title-style;
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid $picoCartLightGray;
margin: 1em 0;
padding: 0;
}
}
#links {
h2 {
@extend %title-style;
}
ul {
list-style: none;
padding: 0;
}
li {
a {
@extend %link-style;
@extend %shadowed;
padding: 8px;
display: block;
min-height: 24px;
background-color: $picoCartLightGray;
border-radius: 2px;
}
:after {
content:">";
color: $picoCartDarkGray;
text-align: right;
float:right;
}
}
li + li {
margin-top: 8px;
}
}