-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.cc
executable file
·81 lines (68 loc) · 1.01 KB
/
style.cc
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
body {
margin: 0;
font-family: Arial, sans-serif;
font-size: 16px;
line-height: 1.5;
}
header {
background-color: #008000 ;
color: #fff;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
textalign : center;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
nav li {
margin: 0 10px;
}
nav a {
color: #fff;
text-decoration: none;
}
nav a:hover {
color: #ccc;
}
main {
padding: 20px;
}
section {
margin-bottom: 20px;
}
section h2 {
font-size: 24px;
color: #002147;
}
section p {
font-size: 16px;
color: #666;
}
footer {
background-color: #002147;
color: #fff;
padding: 20px;
text-align: center;
}
/* Gallery Styles */
.gallery {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 20px;
}
.gallery img {
width: 100%;
height: auto;
border-radius: 10px;
box-shadow: 0 0 10px #002147;
}
@media screen and (max-width: 768px) {
.gallery {
grid-template-columns: repeat(2, 1fr);
}
}