-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsitegrid-nav.css
128 lines (111 loc) · 2.22 KB
/
sitegrid-nav.css
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
/* <uniquifier>: Use a unique and descriptive class name
<weight>: Use a value from 100 to 900 */
.noto-sans-h1 {
font-family: "Noto Sans", sans-serif;
font-optical-sizing: auto;
font-weight: 900;
font-style: normal;
font-variation-settings:
"wdth" 100;
}
.noto-sans-h2 {
font-family: "Noto Sans", sans-serif;
font-optical-sizing: auto;
font-weight: 700;
font-style: normal;
font-variation-settings:
"wdth" 100;
}
h3 {
font-family: "Noto Sans", sans-serif;
font-optical-sizing: auto;
font-weight: 500;
font-style: normal;
font-variation-settings:
"wdth" 100;
}
h4,
.nav li,
.menusList li {
font-family: "Noto Sans", sans-serif;
font-optical-sizing: auto;
font-weight: 380;
font-style: normal;
font-variation-settings:
"wdth" 100;
list-style: none;
}
p,
li {
font-family: "Noto Sans", sans-serif;
font-optical-sizing: auto;
font-weight: 250;
font-style: normal;
font-variation-settings:
"wdth" 100;
}
main {
display: grid;
grid-template-columns: 0.75fr repeat(4, 1fr) 0.75fr;
grid-template-rows: 0.15fr repeat(3, 1fr) 0.25fr;
gap: 2% 1%;
grid-auto-flow: row;
width: 100vw;
height: 100vh;
}
.title-area-home {
grid-area: 2 / 2 / 4 / 4;
}
.title-area-slim {
grid-area: 2 / 2 / 2 / 4;
}
.title {
display: grid;
place-items: center;
background-image: url("img/title-dessert.jpg");
background-size: cover;
background-position: center;
color: rgb(0, 0, 0);
}
.backdrop {
background-color: rgba(255, 255, 255, 0.50);
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(5px);
border-radius: 10px;
width: fit-content;
padding: 2% 5%;
}
.nav {
grid-area: 2 / 5 / 2 / 6;
display: flex;
justify-content: flex-end;
}
.nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: row;
text-wrap: nowrap;
}
.nav li {
margin-left: 2em;
}
.nav a {
display: block;
padding: 1em;
text-decoration: none;
color: #333;
}
/* Focus state for keyboard navigation */
.nav a:focus {
outline: none;
/* Remove default outline */
background-color: #eee;
/* Add subtle background on focus */
}
/* Optional: Hover state for mouse users */
.nav a:hover {
text-decoration: underline;
/* Add underline on hover */
}