summaryrefslogtreecommitdiff
path: root/design/sass/_global.scss
blob: 27f731f05ca09b7bdf7daf7122e807f62831c776 (plain)
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
168
169
170
171
172
173
174
175
html {
    border-top: 0.25em solid $brown;
}

body {
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden;
    font: normal 100% / 1.5 Georgia, Cambria, "Times New Roman", Times, serif;
    color: $body_font;
    text-align: center;
    background-color: transparent
}

// eliminate touch delay on mobile safari
a, button, input, select, textarea, label, summary {
    touch-action: manipulation;
}
a {
    color: $orange;
    -webkit-transition: all 0.1s ease;
    -moz-transition: all 0.1s ease;
    -ms-transition: all 0.1s ease;
    transition: all 0.1s ease;
    &:hover {
        text-decoration: none;
    }
    &:visited {
        color: $orange;
    }
}

p {
    @include constrain_narrow();
    text-align: left;
    @include breakpoint(alpha){
        @include fontsize(18);
        line-height: 1.5;
    }
    @include breakpoint(gamma){
        @include fontsize(20);
        line-height: 1.6;
    }
}
time {
    @include smcaps;
    @include fontsize(11);
    display: block;
    span {
        @include fontsize(13);
    }
}
abbr {
    cursor: help;
}
pre {
    @include constrain_narrow();
    text-align: left;
    @include breakpoint(alpha){
        @include fontsize(18);
        line-height: 1.5;
        margin-top: 2em;
        margin-bottom: 2em;
    }
}
object, embed, video {
    max-width: 100%;
    height: auto;
}

img {
    max-width: 100%;
    max-width:98%;
    padding:1%; /* A percentage that, when doubled and added to the above, makes 100%. */
    background: $brown;
}

h1 {
    font-family:  Georgia, 'Times New Roman', serif;
    @include fontsize(36);
    font-weight: normal;
}

//**************  Universals ************************
.hide {
    display: none;
}

.strike {
    text-decoration: line-through;
}

.yes {
    background: green !important;
    color: white;
}

.no {
    background: red !important;
    color: white;
}

.alert {
    color: red !important;
}
//**************  other global classes ************************
.sans {
    @include generic_sans;
}
.bl {
    @include smcaps;
    @include fontsize(11);
}

.subhead {
    font-style: italic;
    font-weight: 400;
    margin-top: 0;
    @include constrain_narrow;
    @include breakpoint(beta) {
        text-align: left;
    }
}
.mailing-list--wrapper {
    @include constrain_narrow;
    @include breakpoint(gamma) {
        margin-top: 3em;
        max-width: 580px;
        h5 {
            margin-bottom: .5em;
            margin-top: 2em;
        }
    }
    h5 { 
        font-weight: normal;
        text-align: left;
        @include fontsize(18);
    }
    &:before {
        @include faded_line_after;
        margin-top: 5em;
    }
}
.divide-after:after {
    margin-bottom: 3em;
    @include faded_line_after;
}
//****************  Page Breadcrumbs  ************************

#breadcrumbs {
    @include constrain_wide();
    text-align: center;
    li {
        display: inline;
    }
    a { color: $brown;}
    @include breakpoint(gamma) {
        text-align: left;
    }
}

.black #breadcrumbs a, .dark #breadcrumbs a {
    color: $body_font_light;
}
//************* Dark Pages *********************

.dark body {
    background: $brown;
    color: $body_font_light
}

.black body {
    background: #000;
    color: $body_font_light
}