-
Notifications
You must be signed in to change notification settings - Fork 0
/
eb_template.css
212 lines (206 loc) · 3.71 KB
/
eb_template.css
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
:root {
scroll-behavior: smooth;
font-family: "Roboto", sans-serif;
font-size: 16px;
background: whitesmoke;
}
html {
min-height: 100%;
text-size-adjust: none;
-webkit-text-size-adjust: none;
/* iPhone portrait>landscape textzoom off */
}
body,
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
img {
border: 0;
display: block;
width: 100%;
}
h1,
h2,
h3,
h4 {
color: Indigo;
font-weight: bold;
line-height: normal;
margin: 1rem 0;
}
h1 {
font-size: 2rem;
}
h3 {
font-size: 1.25rem;
}
h4 {
font-size-adjust: 1rem;
}
h1 small {
color: Teal;
font-size: 0.75em;
}
p {
margin: 1.5rem 0;
}
.content ul {
text-align: left;
margin: 1.5rem 0;
}
.content li {
list-style-type: none;
position: relative;
left: 1.5em;
width: calc(100% - 1.5em);
margin-bottom: 0.25em;
}
.content li:last-child {
margin-bottom: 0;
}
.content li::before {
content: "\276F";
color: Teal;
position: absolute;
left: -1.5em;
top: 0;
}
a {
color: Teal;
text-decoration: underline;
text-decoration-thickness: 2px;
font-weight: inherit;
transition: 0.3s ease all;
}
a:hover {
color: Indigo;
text-decoration: underline;
text-decoration-thickness: 2px;
}
a[href^="mailto"],
a[href^="tel"] {
white-space: nowrap;
}
a[href^="tel"] {
color: inherit;
text-decoration: underline;
text-decoration-style: dotted;
text-decoration-thickness: 2px;
text-decoration-color: Teal;
}
a[href^="tel"]:hover {
text-decoration-color: Indigo;
}
address {
font-style: normal;
}
footer {
background-color: Teal;
color: white;
padding: 2rem;
}
.containerIA {
max-width: 900px;
margin: 0 auto;
border: 0;
color: DarkSlateGray;
font-size: 1rem;
text-align: left;
line-height: 1.5;
background: white;
position: relative;
hyphens: manual;
}
.title,
.content {
padding: 2rem;
background: rgb(240, 240, 240);
background: linear-gradient(
0deg,
rgba(240, 240, 240, 1) 0%,
rgba(255, 255, 255, 1) 100%
);
}
/* when element is the first child of .title and .content */
.title > *:first-child,
.content > *:first-child {
margin-top: 0;
}
/* when element is the last child of .title and .content */
.title > *:last-child,
.content > *:last-child {
margin-bottom: 0;
}
.nowrap,
.nobr {
white-space: nowrap;
}
.mobileHidden {
display: block;
}
.desktopHidden {
display: none;
}
#arrowScrollToTop {
position: fixed;
z-index: 3;
width: 3rem;
height: 3rem;
right: 1rem;
bottom: 3rem;
color: white;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25), 0 0 2px rgba(0, 0, 0, 0.25);
font-size: 4rem; /* to resize button it is enough to change font-size using rem */
line-height: 1;
display: inline-block;
text-align: center;
cursor: pointer;
border-radius: 0;
transition: 0.3s ease all;
display: none;
}
#arrowScrollToTop svg {
fill: rgba(0, 0, 0, 0.25);
}
#arrowScrollToTop:hover svg {
fill: rgba(0, 0, 0, 0.5);
}
#headerSlideshow {
padding-bottom: calc(
600 / 1280 * 100%
); /* pic dimensions | height / width * 100% */
}
/* -=-= MOBILE SPECIFIC FORMATTING =-=- */
@media screen and (max-width: 680px) {
.containerIA {
border: none;
font-size: 1rem;
}
.containerIA .desktopHidden {
display: block;
}
.containerIA .mobileHidden {
display: none;
}
.containerIA #arrowScrollToTop {
display: block;
}
.containerIA #headerSlideshow {
padding-bottom: calc(
430 / 1280 * 100%
); /* pic dimensions | height / width * 100% */
}
}
/* smartphones, touchscreens */
@media (hover: none) and (pointer: coarse) {
a:hover {
color: inherit;
text-decoration: none;
}
#arrowScrollToTop svg {
fill: rgba(0, 0, 0, 0.25);
}
}