forked from jorgeberrizbeitia/css-layout-starter-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
53 lines (43 loc) · 1.09 KB
/
style.css
File metadata and controls
53 lines (43 loc) · 1.09 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
html {
scroll-behavior: smooth; /* This makes the scroll behavious of internal links have a smooth animation */
}
body {
background-color: #55595c;
margin: 0; /* resets the default 8px from most browsers */
text-align: center; /* centers all text elements in the website */
}
/* Game color: #a70184 */
#main-header {
background-color: white;
color: black;
padding: 5px 0; /* top&down left&right */
margin: 20px 30px 20px 30px; /* top right down left */
}
#brands-section li {
background-color: white;
padding: 10px;
border: 2px solid black;
list-style-position: inside; /* moves the bullet point inside the element */
margin-right: 40px; /* same as native left separation for bullet point */
}
#games-section, #used-section, #brands-section, #access-buttons {
background-color: lightgray;
padding: 20px;
margin: 20px;
}
#access-buttons {
background-color: lightgray;
}
#access-buttons button {
width: 50px;
height: 50px;
border-radius: 50px;
}
#access-buttons a {
text-decoration: none;
}
.card img {
height: 180px;
width: 120px;
}
/* New CSS from here */