-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
72 lines (65 loc) · 1.53 KB
/
styles.css
File metadata and controls
72 lines (65 loc) · 1.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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
background-image: url("/flags/8010.jpg");
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-color: rgba(0, 0, 0, 0.2);
background-blend-mode: overlay;
}
h1 {
margin: 20px 0;
font-size: 2em;
}
.main-heading {
font-family: 'Georgia', serif;
font-size: 2em;
font-weight: normal;
color: #333;
background-color: rgba(255, 255, 255, 0.5);
text-align: center;
margin-top: 2em;
margin-bottom: 1.5em;
letter-spacing: 0.05em;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
border-bottom: 1px solid #ddd;
padding-bottom: 0.5em;
}
.flag-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 10px;
width: 90%;
max-width: 1200px;
margin: 20px 0;
}
.flag-item {
text-align: center;
background-color: rgba(255, 255, 255, 0.75);
padding: 10px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
transition: background-color 0.3s ease, transform 0.3s ease;
}
.flag-item:hover {
background-color: rgba(255, 255, 255, 0.95);
transform: translateY(-3px);
box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.flag-item img {
width: 100px;
height: auto;
display: block;
margin: 0 auto 10px;
}
.flag-item span {
display: block;
font-size: 0.9em;
color: #333;
}