-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.css
More file actions
156 lines (136 loc) · 3.08 KB
/
home.css
File metadata and controls
156 lines (136 loc) · 3.08 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
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
box-sizing: border-box; /* Prevent padding/borders from affecting width */
overflow-x: hidden; /* Hide horizontal overflow */
}
/* Default (Light Mode) */
:root {
--background-color: #ffffff;
--text-color: #000000;
--image-url: url('blonde logo.png')
}
/* Dark Mode */
body.dark-mode {
--background-color: #000000;
--text-color: #ffffff;
--image-url: url('blonde logo 2.png')
}
/* Apply Theme Variables */
body {
background-color: var(--background-color);
color: var(--text-color);
transition: background-color 0.3s, color 0.3s; /* Smooth transitions */
}
button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: none;
background-color: #007BFF; /* Button background color */
color: white; /* Button text color */
border-radius: 5px; /* Optional: Rounded corners */
transition: background-color 0.3s;
}
.title {
font-family: "Faculty Glyphic", sans-serif;
font-weight: 400;
font-style: normal;
text-align: center;
}
.center{
display: block;
margin-left: auto;
margin-right: auto;
}
.center2{
display: flex;
justify-content: center;
align-items: center;
}
.center3{
align-items: center;
}
#logo{
content: var(--image-url);
}
.button {
font-family: "Faculty Glyphic", sans-serif;
text-decoration: none; /* Ensures no underline for buttons */
background-color: var(--background-color); /* Green (or your color) */
border: none;
color: var(--text-color); /* Button text color */
padding: 15px 32px;
display: inline-block;
font-size: 16px;
justify-content: center;
align-items: center;
}
.button a {
color: inherit;
text-decoration: none;
display: block;
width: 100%;
height: 100%;
}
/* Masonry Layout */
.masonry {
column-count: 3; /* Adjust the number of columns */
column-gap: 10px; /* Space between columns */
padding: 20px;
box-sizing: border-box;
}
.item {
margin-bottom: 10px;
break-inside: avoid; /* Prevent breaking items across columns */
}
.item img {
width: 100%;
height: auto;
display: block;
object-fit: cover;
cursor: pointer;
}
/* Modal Styles */
.modal {
display: none;
position: fixed;
z-index: 1000;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.9);
overflow: auto;
align-items: center;
justify-content: center;
}
.modal-content {
max-width: 80%;
margin: auto;
display: block;
width: 100%;
height: auto;
}
.close {
position: absolute;
top: 15px;
right: 35px;
color: #fff;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
}
.close:hover,
.close:focus {
color: #bbb;
cursor: pointer;
}
#caption {
text-align: center;
padding: 10px;
color: white;
font-size: 16px;
}