-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
108 lines (90 loc) · 1.66 KB
/
style.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
/* Reset some default browser styles */
body, h1, h2, p, ul, li {
margin: 0;
padding: 0;
}
/* Set a background color and font styles */
body {
background-color: #f8f8f8;
font-family: Arial, sans-serif;
line-height: 1.6;
}
/* Style the header */
header {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px 0;
}
/* Style the header */
header {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px 0;
}
header h1 {
font-size: 24px;
}
nav ul {
list-style: none;
}
nav ul li {
display: inline;
margin: 0 auto;
}
nav ul li a {
text-decoration: none;
color: #fff;
}
/* Style the main content */
main {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
section {
margin-bottom: 200px;
padding: 100px;
margin: 0 auto
}
img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
grid-gap: 20px;
margin: 0 auto
}
.artwork {
border: 1px solid #ddd;
padding: 10px;
text-align: center;
margin: 0 auto
}
.artwork img {
max-width: 100%;
}
/* Style the footer */
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 100px 0;
}
footer a {
text-decoration: none;
color: #fff;
}
/* Media query for responsiveness */
@media (max-width: 768px) {
main {
padding: 10px;
}
}