-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
115 lines (96 loc) · 1.76 KB
/
styles.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
/* styles.css */
/* Reset CSS */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.5;
}
header {
background-color: #333;
color: #fff;
padding: 10px;
}
nav ul {
list-style: none;
display: flex;
justify-content: space-between;
}
nav ul li {
margin-right: 10px;
}
nav ul li a {
color: #fff;
text-decoration: none;
}
.hero {
background-image: url('hero-image.jpg');
background-size: cover;
background-position: center;
height: 500px;
display: flex;
justify-content: center;
align-items: center;
}
.hero-content {
text-align: center;
}
.hero-content h1 {
font-size: 36px;
margin-bottom: 10px;
}
.hero-content p {
font-size: 18px;
margin-bottom: 20px;
}
.cta-button {
background-color: #333;
color: #fff;
padding: 10px 20px;
border-radius: 5px;
text-decoration: none;
}
.featured-artworks {
background-color: #f1f1f1;
padding: 50px 0;
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.featured-artworks h2 {
font-size: 24px;
margin-bottom: 20px;
}
.artwork-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
grid-gap: 20px;
}
.artwork-card {
background-color: #fff;
padding: 20px;
text-align: center;
border-radius: 5px;
}
.artwork-card img {
width: 100%;
max-height: 200px;
object-fit: cover;
margin-bottom: 10px;
}
footer {
background-color: #333;
color: #fff;
padding: 10px;
text-align: center;
}
img {
width: 100%;
height: auto;
}