-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
117 lines (93 loc) · 1.42 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
body{
font-size: 16px;
color: #2b283a;
font-family: 'Roboto', sans-serif;
margin: 0;
}
/* typography */
h1, h3{
margin: 0;
}
h1{
color: whitesmoke;
font-size: 36px;
}
h2{
margin-top: 0;
}
h3{
color: #d0aaff;
font-size: 20px;
}
p{
line-height: 23px;
}
/* links */
a{
color: #ef5839;
text-decoration: underline dotted;
}
a:hover, a:active{
color: #d4b44c;
}
/*
Challenge:
1. Refactor the CSS for these button-style
links using two classes on each link
element.
⚠️ Think what to call the new class you
will need to create.
*/
.btn{
padding: 10px 19px;
border-radius: 4.6px;
font-weight: 500;
text-decoration: none;
display: inline-block;
}
.btn-dark{
background: #5f29a3;
color: whitesmoke
}
.btn-mid{
background: #F0E0FF;
color: #5f29a3;
}
.btn-light{
background: whitesmoke;
color: #5f29a3;
}
.btn:hover,
.btn:active{
background-color: #f3e885;
color: #2b238a;
}
/* layout */
header, section, footer{
padding: 45px 0;
}
header, .section-two{
background-color: #5f29a3;
}
.section-two{
color: whitesmoke;
}
.container{
width: 620px;
margin: 0 auto;
}
.main-image{
width:100%;
}
.section-two-image-container{
display: flex;
justify-content: space-between;
}
.feature-image{
width: 300px;
border-radius: 4.6px;
}
footer{
text-align: center;
color: #5f29a3;
}