/
index.css
124 lines (124 loc) · 2.03 KB
/
index.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
119
120
121
122
123
124
@import url("https://fonts.googleapis.com/css?family=Roboto");
* {
box-sizing: border-box;
margin: 0;
border: 0;
padding: 0;
}
a {
color: inherit;
text-decoration: none;
}
body {
font-family: "Roboto", sans-serif;
overflow-x: hidden;
}
/* nav bar style */
header {
display: flex;
justify-content: space-between;
align-items: center;
height: 15vh;
background-color: #eeeced;
padding: 0 5%;
}
#right-nav {
display: flex;
justify-content: space-between;
}
#right-nav > a {
color: #000000;
margin-left: 20px;
text-transform: uppercase;
}
#right-nav > a:hover {
color: #cb3362;
}
/* main style */
main {
position: relative;
height: auto;
}
#main-big {
position: relative;
width: 100%;
height: 100%;
z-index: 0;
display: block;
}
#main-small {
position: absolute;
z-index: 9;
bottom: 10%;
right: 20%;
width: 200px;
height: 200px;
}
#main-small > img {
position: relative;
width: 100%;
height: 100%;
}
#main-small > div {
width: 100%;
position: absolute;
bottom: 50%;
text-align: center;
font-size: 120%;
color: white;
text-transform: uppercase;
}
/* product section style */
#products-section {
width: 100%;
height: 30vh;
background-color: #e9e7e8;
display: flex;
justify-content: space-between;
padding: 0 5%;
}
#products-text {
display: grid;
grid-template-rows: 1fr 1fr 1fr;
padding: 40px 0;
}
#products-text > h3 {
color: #7a6665;
}
#products-text > h2 {
color: #cb3362;
}
/* link section style */
#link-section {
background-color: #c8c10e;
display: flex;
justify-content: space-around;
padding: 30px 0;
}
.pic-with-cap {
display: grid;
grid-template-rows: 2fr 1fr;
grid-gap: 5px;
color: white;
text-transform: uppercase;
font-size: 80%;
letter-spacing: 2px;
}
.pic-with-cap > img {
display: block;
margin: 0 auto;
}
/* footer style */
footer {
background-color: #cb3362;
text-align: center;
padding-top: 40px;
padding-bottom: 40px;
}
#upper-footer >* {
padding: 0 20px;
}
#lower-footer {
padding-top:20px;
color: white;
}