-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
46 lines (42 loc) · 1015 Bytes
/
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
@import url("https://fonts.googleapis.com/css2?family=Ranchers&display=swap");
main {
min-height: calc(100vh - 3rem);
display: grid;
place-items: center;
}
.container {
text-align: center;
}
.container h2 {
background: #222;
color: #fff;
padding: 1rem;
border-radius: 0.25rem;
margin-bottom: 2.5rem;
}
.color {
color: hsl(205, 78%, 60%);
}
.btn-hero {
font-family: "Ranchers", sans-serif;
text-transform: uppercase;
background: transparent;
color: #222;
letter-spacing: 0.1rem;
display: inline-block;
font-weight: 700;
transition: all 0.3s linear;
border: 2px solid #222;
cursor: pointer;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
border-radius: 0.25rem;
font-size: 1rem;
padding: 0.75rem 1.25rem;
}
.btn-hero:hover {
color: #fff;
background: #222;
}
/* The min-height property defines the minimum height of an element.
If the content is smaller than the minimum height, the minimum height
will be applied. */