-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
197 lines (151 loc) · 3.56 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Loop&display=swap');
/*With border-box, we can take advantage of padding and margin. I have used this proprety for body but it did not show anything. so Future me, we should use it with all tags. */
*{
box-sizing: border-box; /*Without this, there will be space outside the navbar*/
padding: 0; /*Defalut value is 1*/
margin: 0; /*Defalut value is 1*/
}
/*This covers all of the page.*/
body {
background-image: url("https://www.toptal.com/designers/subtlepatterns/patterns/ricepaper.png");
}
/*Text-decoration:none removes the underlines and list-style:none bullet points. Inline-block makes the li stand side by side.The cool thing is when you use padding here all items will stand far away from each other. Like A common navbar.*/
li, a {
list-style: none;
display: inline-block;
text-decoration: none;
font-family: 'Satisfy',sans-serif;
font-weight: 500;
font-size: 17px;
padding:0px 20px;
color: #c3a761;
}
/*The real magic is here.*/
header {
display:flex;
justify-content: space-between;
align-items:center;
padding:5px 10px;
background-color: #040404;
margin-bottom: 5px;
position: fixed;
width: 100%;
height: 2.5rem;
}
/*Padding here (top higher than right) changes the distance between items in the nav.*/
.navbar li{
padding: 11px 0px;
}
.navbar li a:hover{
color: #916024;
}
#picture{
width: 50%;
height: auto;
border-radius:100px;
border: 1px #916024 solid ;
display:flex;
align-items: center;
margin: 0 auto;
}
.logo {
display:flex;
width: 100px;
height: 40px;
cursor:pointer;
}
.page-wrapper{
display:flex;
flex-direction: column;
align-items:center;
color: #3b3424;
width: 500px;
height: 100px;
margin: 0 auto;
padding-top: 40px;
font-family: 'Zen Loop', sans-serif;
margin-bottom: 30px;
}
.btn {
background-color: #c3a761;
padding: 4px 20px;
height: 40px;
font-size: 1em;
font-weight: 900;
text-transform: uppercase;
border: 3px black solid;
border-radius: 5px;
cursor: pointer;
margin: 0 auto;
display: flex;
justify-content:center;
margin-bottom:5px;
padding-bottom:5px;
}
.btn:hover{
background-color: #7c7c4f;
}
#email {
width: 100%;
height: 30px;
margin: 0 auto;
caret-color: #d49555;
border-radius: 5px;
border:solid 2px #c3a761;
margin-top: 10px;
margin-bottom: 10px;
text-indent: 20px;
}
#how-it-works{
padding-top:100px;
margin: 0;
}
p{
padding-bottom: 40px;
font-size: 2em;
font-weight: 900;
text-align: justify;
}
.pricing-section{
display: flex;
flex-direction: row;
justify-content: space-between;
}
.product {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
width: calc(100% / 3);
margin: 10px;
border: 1px solid #000;
border-radius: 3px;
margin-bottom:50px;
}
.level{
background-color:#61502b;
color: black;
padding: 15px 0;
width: 100%;
text-transform: uppercase;
font-weight: 700;
font-weight:900;
}
footer{
width: 100%;
height: 2.5rem;
margin-top: 30px;
background-color:#040404;
position: fixed;
bottom: 0;
text-align: center;
}
footer > ul > li {
padding: 0 10px;
}
@media (max-width: 600px) {
header {
flex-wrap: wrap;
}
}