-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
149 lines (126 loc) · 2.47 KB
/
styles.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
html {
box-sizing: border-box;
}
body {
background-image: linear-gradient(#FC5E55, #FA4083);
color: white;
font-family: 'Oswald', sans-serif;
font-size: 1.125rem;
font-weight: 300;
}
header {
/* background-color: blue; */
align-items: center;
display: flex;
justify-content: space-between;
padding: 20px 0;
border-bottom: 2px solid white;
}
main {
align-items: center;
/* background-color: lightgreen; */
display: flex;
min-height: 300px;
}
a {
color: white;
text-decoration: none;
}
h1 {
font-size: 3.25rem;
font-family: 'Merriweather', serif;
margin-bottom: 1.5rem;
}
h2 {
font-size: 2rem;
font-family: 'Merriweather', serif;
margin-top: 20px;
}
p {
line-height: 1.5rem;
margin-bottom: 0.5rem;
}
.container {
width: 1024px;
min-height: 300px;
margin: auto;
}
.navbutton {
border: solid 2px white;
display: inline-block;
padding: 10px 20px;
}
.herobox1 {
flex: 2;
margin-right: 100px;
}
.herobox2 {
flex: 1;
}
.button {
background-color: white;
border-radius: 12px;
color: #FA4083;
display: inline-block; /*if block, it will take all the width*/
padding: 11px 20px;
}
.button:hover {
background-color: rgb(196, 228, 17);
transition-duration: 1s;
}
.cards {
align-content: center;
display: flex;
justify-content: space-between;
text-align: center;
}
.card1, .card2, .card3 {
box-sizing: border-box;
padding: 20px 25px 20px 25px;
}
.card1 {
background-image: url(images/image-background-card1.jpg);
background-position: center;
background-size: cover;
width: 30%;
min-height: 300px;
}
.card2 {
background-image: url(images/image-background-card2.jpg);
background-position: center;
background-size: cover;
width: 30%;
min-height: 300px;
}
.card3 {
background-image: url(images/image-background-card3.jpg);
background-position: center;
background-size: cover;
width: 30%;
min-height: 300px;
}
.cards p { /* all the p tags in cards */
font-size: 0.95 rem;
margin: 10px 30px 20px 30px;
}
.cards i {
font-size: 80px;
}
.testimonials {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: 50px;
}
.tbox {
border: solid 2px white;
box-sizing: border-box;
margin-top: 30px;
padding: 50px;
text-align: justify;
width: 47%;
}
.tbox p:last-of-type {
font-size: 0.9rem;
padding: 20px;
}