-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomponents.css
More file actions
182 lines (155 loc) · 3.86 KB
/
components.css
File metadata and controls
182 lines (155 loc) · 3.86 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
176
177
178
179
180
181
182
/* Container for a standard content page */
.content-container {
background-color: #0005; /* Matches other cards */
border-radius: 10px;
padding: 20px 40px;
margin: 20px auto;
max-width: 900px;
text-align: left;
}
.content-container h1 {
text-align: center; /* Center the main page title */
margin-bottom: 30px;
}
img.socialsIcon {
width: 30px;
height: 30px;
margin-left: 8px;
margin-right: 8px;
transition: transform 0.2s ease;
}
img.socialsIcon:hover {
transform: scale(1.15);
}
button, .bigbutton {
text-align: center;
font-family: 'Sui Generis';
font-size: x-large;
color: white;
background-color: rgba(100, 214, 255, 0.7);
border: 0px;
border-radius: 5px;
width: auto; /* LET PADDING DO THE WORK */
min-width: 200px; /* Give it a minimum size */
padding: 15px 30px; /* More padding */
margin: 5px;
cursor: pointer; /* Show pointer on hover */
transition: background-color 0.3s ease;
}
button:hover, .bigbutton:hover {
background-color: rgb(0, 157, 255);
}
/* Flexbox Container for Info Cards */
.info-container {
display: flex;
flex-wrap: wrap; /* Allows cards to stack on small screens */
justify-content: center;
gap: 20px; /* Adds space between the cards */
padding: 20px;
}
.info-card {
background-color: #0005;
border-radius: 10px;
padding: 20px;
text-align: center;
flex-basis: 400px; /* Each card will try to be 400px wide */
flex-grow: 1; /* Allows them to grow if space is available */
max-width: 500px; /* Prevents them from getting too wide */
display: flex;
flex-direction: column;
}
.info-card .bigbutton {
margin-top: auto;
}
.info-card h2 {
color: #a0c4ff;
border-bottom: 2px solid #a0c4ff;
padding-bottom: 5px;
display: inline-block;
margin-bottom: 20px;
}
.site-footer {
position: fixed; /* Makes it "always visible" */
bottom: 0;
left: 0;
width: 100%;
background-color: #0a0a0abb; /* Darker, slightly transparent */
backdrop-filter: contrast(2.5) blur(8px); /* Frosted glass effect */
color: #eee;
border-top: 1px solid #606090bb;
padding: 15px 10px;
margin: 0;
border-radius: 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 40px;
z-index: 9999; /* Ensures it stays on top */
}
.footer-col {
text-align: center;
}
.footer-col h2 {
color: #a0c4ff;
margin: 0 0 10px 0;
padding: 0;
font-size: 1.1em;
border-bottom: none;
}
.social-icons-container {
display: flex;
justify-content: center;
}
/* Header for sub-pages */
.page-header {
background-color: #0005;
padding: 10px;
text-align: left;
}
.page-header button {
width: 150px;
font-size: large; /* Make it a bit smaller than main buttons */
}
/* The CSS Grid container */
.project-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 20px;
padding: 20px;
}
/* Styling for each project card */
.project-card {
/* Background image settings */
background-position: center;
background-size: cover;
background-color: #000a; /* Dark fallback color */
background-blend-mode: multiply;
border-radius: 10px;
padding: 20px;
min-height: 250px; /* Ensures cards have a consistent height */
display: flex;
flex-direction: column;
justify-content: center;
transition: all 0.3s ease; /* Smooth hover effect */
}
.project-card:hover {
transform: scale(1.03);
background-color: #0007;
}
.project-card h3 {
font-family: 'Sui Generis', sans-serif;
font-size: 24px;
color: #a0c4ff;
transition: color 0.3s ease;
}
.project-card a:hover h3 {
color: #ffffff;
}
.project-card a {
text-decoration: none;
color: inherit;
}
.weak-text {
opacity: 50%;
}