-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmain.css
More file actions
175 lines (148 loc) · 2.53 KB
/
main.css
File metadata and controls
175 lines (148 loc) · 2.53 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
165
166
167
168
169
170
171
172
173
174
175
html {
text-align: center;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
color: #000;
}
a:visited, a:link, a:active {
text-decoration: none;
color: rgba(0, 0, 0, 0.6);
}
a:hover {
color: rgba(0, 0, 255, 0.8);
}
.highlight {
color: rgba(0, 0, 255, 0.8);
}
.roundimg {
border-radius: 50%;
margin-top: 20px;
width: 50%;
max-width: 150px;
}
h1{
margin-top: 20px;
font-size: 400%;
}
h3 {
margin-top: 20px;
padding: 0 20px;
}
.icons {
margin-top: 20px;
font-size: 180%;
}
.icon {
margin-right: 10px;
}
.item-zoom:hover img {
position: relative;
-moz-transform: scale(1.1);
-webkit-transform: scale(1.1);
transform: scale(1.1);
transition: all 0.3s ease-in-out;
}
.item-zoom-subtle:hover img {
position: relative;
-moz-transform: scale(1.03);
-webkit-transform: scale(1.03);
transform: scale(1.03);
transition: all 0.3s ease-in-out;
}
.flex-container {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 10px;
row-gap: 10px;
flex-direction: row;
padding: 20px;
box-sizing: border-box;
}
.flex-container > div {
flex-basis: content;
max-width: 100%;
}
.flex-container img {
max-width: 100%;
height: auto;
display: block;
max-height: 500px;
object-fit: contain;
}
@media screen and (max-width: 768px) {
.flex-container {
padding: 10px;
gap: 8px;
}
.flex-container img {
max-height: 400px;
}
}
@media screen and (max-width: 480px) {
.flex-container {
padding: 5px;
gap: 5px;
}
.flex-container img {
max-height: 300px;
}
}
.center {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: 90%;
width: 100%;
max-height: 90vh;
overflow-y: auto;
padding: 20px;
box-sizing: border-box;
}
/* Responsive styles for mobile devices */
@media screen and (max-width: 768px) {
.center {
position: relative;
top: auto;
left: auto;
transform: none;
max-width: 100%;
width: 100%;
max-height: none;
padding: 20px 15px;
margin: 0 auto;
}
.center h1 {
font-size: 250%;
}
.center h2 {
font-size: 150%;
margin: 15px 0;
}
.center a {
display: inline-block;
padding: 5px 8px;
margin: 3px 2px;
line-height: 1.5;
}
.center hr {
margin: 10px 0;
}
}
@media screen and (max-width: 480px) {
.center {
padding: 15px 10px;
}
.center h1 {
font-size: 200%;
}
.center h2 {
font-size: 130%;
}
.center a {
padding: 8px 10px;
margin: 5px 3px;
font-size: 14px;
}
}