-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
118 lines (87 loc) · 1.56 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
/* CSS Reset */
* {
margin: 0;
padding: 0;
}
html {
height: 100%;
width: 100%;
}
body {
display: flex;
flex-direction: column;
min-height: 100vh;
}
/* Navbar Styling */
.main-nav {
background: linear-gradient(to bottom, #003366 0%, #336699 100%);
position: fixed;
top: 0;
width: 100%;
font-family: "Indie Flower", cursive;
}
.nav-list {
display: flex;
list-style: none;
font-size: 2em;
}
.nav-list li {
padding: 20px;
}
.nav-list a {
text-decoration: none;
color: white;
}
.push {
margin-left: auto;
}
/* Header Styling */
.cover {
display: flex;
justify-content: center;
align-items: center;
background-color: #343C63;
height: 60vh;
}
.cover-picture {
width: 500px;
}
/* Grid Styling */
.product-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
grid-gap: 20px;
background-color: #A67BB0;
}
.box {
background-color: #444;
border: solid 2px #96BAD4;
padding: 20px;
margin: 20px;
transition: all 1s;
}
.box > img {
width: 100%;
}
.box:hover {
transform: scale(1.1);
}
/* Footer Styling */
footer {
display: flex;
justify-content: center;
align-self: flex-end;
background: linear-gradient(to bottom, #003366 0%, #336699 100%);
color: white;
font-family: "Indie Flower", cursive;
font-size: 2em;
width: 100%;
}
@media only screen and (max-width: 600px) {
.nav-list {
font-size: 1.5em;
}
footer {
font-size: 1.5em;
}
}