forked from codepath/web102_prework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
119 lines (99 loc) · 2.03 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
109
110
111
112
113
114
115
116
117
118
@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&display=swap');
body {
font-family: 'Cabin';
background-color: #eae7e3;
}
#tentacles {
width: 50px;
}
.header {
display: flex;
background-color: rgb(159, 232, 160);
padding: 1%;
align-items: center;
margin-left: -10px;
margin-right: -10px;
margin-top: -10px;
}
.stats-container {
display: flex;
align-items: center;
cursor: pointer;
box-shadow: 0 0 30px lightblue;
}
.stats-card {
background-color: rgb(159, 232, 160);
border-radius: 7px;
padding: 1%;
margin: 1%;
width: 100%;
text-align: center;
}
#num-contributions, #total-raised, #num-games {
font-size: 50px;
}
#games-container {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.game-img {
width: 100%;
border-radius: 5px;
box-shadow: 0 0 10px #FFFFFF;
}
.game-card {
background-color: #FFFFFF;
padding: 1%;
margin: 1%;
width: 300px;
text-align: center;
border-radius: 7px;
}
.game-card:hover {
cursor: pointer;
box-shadow: 0 0 30px lightblue;
}
#button-container {
text-align: center;
}
/* Style the navbar */
#navbar {
overflow: hidden;
background-color: #333;
}
/* Navbar links */
#navbar a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px;
text-decoration: none;
}
/* Page content */
.content {
padding: 16px;
}
/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
position: fixed;
top: 0;
width: 100%;
}
/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
padding-top: 60px;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
}
button, #search-bx {
font-family: 'Cabin';
border: none;
padding: 1%;
margin: 1%;
border-radius: 7px;
}