-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinfo.css
More file actions
164 lines (158 loc) · 2.58 KB
/
Copy pathinfo.css
File metadata and controls
164 lines (158 loc) · 2.58 KB
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
body
{
width: 80%;
margin: 1em auto;
background-color: #2F3E46;
background-image: url(images/Grid.png);
}
header
{
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
h1,h2 {
text-align: center;
color: white;
background-color: #52796F;
width: 40vw;
border-style: solid;
border-color: white;
margin: 2rem auto;
padding-top: 1rem;
padding-bottom: 1rem;
}
a {
background-color: transparent;
text-decoration: none;
}
.section
{
color: white;
background-color: #52796F;
padding: 1em;
border-style: solid;
border-color: white;
margin: 1em;
}
/* Link Styles */
a:link
{
color: rgb(202, 210, 197);
}
a:visited
{
color: rgb(202, 210, 197);
}
a:hover
{
color: white;
}
.slide img, .slide iframe
{
max-height: 75%;
max-width: 90%;
border: 3px solid white;
}
.carousel
{
width: 70vw;
display: flex;
align-items: center;
justify-content: center;
}
button
{
padding: 20px;
border-radius: 15px;
background-color: #84A98C;
color: #2F3E46;
font-weight: bold;
border: 2px solid white;
margin: 0 auto;
height: 20px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
/* Mobile and Tablet */
@media screen and (max-width: 1000px)
{
.carousel
{
width: 80vw;
}
.carousel .gallery
{
height: 100%;
}
h1, h2
{
width: 90%;
}
.carousel .slide img
{
width: 80%;
}
}
/* Google Fonts Roboto Flex */
.roboto-flex {
font-family: "Roboto Flex", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
font-variation-settings:
"slnt" 0,
"wdth" 100,
"GRAD" 0,
"XOPQ" 96,
"XTRA" 468,
"YOPQ" 79,
"YTAS" 750,
"YTDE" -203,
"YTFI" 738,
"YTLC" 514,
"YTUC" 712;
}
@media screen and (min-width: 320px)
{
.carousel
{
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 3fr 1fr;
}
.carousel .slide
{
grid-column: 1/3;
grid-row: 1/2;
}
.carousel .nextButton
{
grid-column: 2/3;
grid-row: 2/3;
margin: 1em auto;
}
.carousel .previousButton
{
grid-column: 1/2;
grid-row: 2/3;
margin: 1em auto;
}
}
/* Desktop */
@media screen and (min-width: 1000px)
{
.carousel
{
display: flex;
align-items: center;
justify-content: center;
}
.carousel .slide
{
width: 70%;
}
}