-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
130 lines (106 loc) · 1.92 KB
/
style.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
* {
box-sizing: border-box;
}
:root {
--bright-orange: hsl(31, 77%, 52%);
--dark-cyan: hsl(184, 100%, 22%);
--very-dark-cyan: hsl(179, 100%, 13%);
}
body {
font-size: 15px;
font-family: 'Lexend Deca';
margin: 0;
padding: 3rem 1rem 3rem 1rem;
display: flex;
color: white;
}
h2 {
font-family: 'Big Shoulders Display';
text-transform: uppercase;
}
.container {
display: flex;
flex-direction: column;
border-radius: 10px;
}
.section {
padding: 3rem;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.section:nth-child(1) {
background-color: var(--bright-orange);
border-radius: 10px 10px 0 0;
}
.section:nth-child(2) {
background-color: var(--dark-cyan);
}
.section:nth-child(3) {
background-color: var(--very-dark-cyan);
border-radius: 0 0 10px 10px;
}
.img-container {
overflow: hidden;
width: fit-content;
margin-bottom: 1.5rem;
}
img {
max-width: 75%;
height: auto;
display: block;
}
button {
border-radius: 25px;
padding: 1rem;
border: none;
outline: none;
width: 50%;
}
button:hover,
button:active {
border: 2px solid white;
color: white !important;
}
#btn1 {
color: var(--bright-orange);
}
#btn2 {
color: var(--dark-cyan);
}
#btn3 {
color: var(--very-dark-cyan);
}
#btn1:hover,
#btn1:active {
background-color: var(--bright-orange)
}
#btn2:hover,
#btn2:active {
background-color: var(--dark-cyan);
}
#btn3:hover,
#btn3:active {
background-color: var(--very-dark-cyan);
}
p {
width: 80%;
}
@media only screen and (min-width: 768px) {
body {
height: 100vh;
padding: 7rem 13rem 7rem 13rem;
}
.container {
flex-direction: row;
}
.section:nth-child(1) {
border-radius: 10px 0 0 10px;
}
.section:nth-child(3) {
border-radius: 0 10px 10px 0;
}
p {
width: 65%;
}
}