-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
122 lines (95 loc) · 1.85 KB
/
style.css
File metadata and controls
122 lines (95 loc) · 1.85 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
/* SCRIPT USED RULES */
.hidden {
display: none;
}
/* END */
body {
background: darkgray;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
color: white;
}
/* HEADER */
header {
position: sticky;
top: 0;
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 1.5rem;
margin: 1rem;
border-radius: 1.25rem;
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow:
0 0.5rem 2rem rgba(0, 0, 0, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
/* LOGO + TITLE */
.header-left {
display: flex;
align-items: center;
gap: 0.6rem;
}
header img {
height: 2.8rem;
width: auto;
}
header h1 {
font-size: 1.25rem;
margin: 0;
white-space: nowrap;
}
#logo-text {
opacity: 1;
transition: opacity 0.35s ease;
}
#logo-text.fade {
opacity: 0;
}
/* NAV */
.header-nav {
display: flex;
gap: 1.2rem;
}
.header-nav p {
margin: 0;
font-size: 0.9rem;
opacity: 0.7;
cursor: pointer;
transition: opacity 0.2s ease;
}
.header-nav p:hover {
opacity: 1;
}
#hero {
background-image: url("./img/heroGrey.webp");
background-position: center;
background-size: cover;
height: 50vh;
display: flex;
align-items: flex-end;
padding: 2rem;
}
#hero h1 {
margin: 0;
font-size: clamp(2.2rem, 5vw, 3rem);
font-weight: 600;
color: #111;
letter-spacing: -0.02em;
text-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
/* MOBILE */
@media (max-width: 600px) {
header {
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
}
.header-nav {
width: 100%;
justify-content: space-between;
}
}