-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
98 lines (96 loc) · 1.65 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
align-items: center;
justify-content: center;
background-color: hsl(0, 0%, 95%);
min-height: 100vh;
padding: 0;
margin: auto;
}
.cards {
display: flex;
justify-content: center;
max-width: 600px;
border-radius: 10px;
overflow: hidden;
margin: 0;
}
.carditem {
display: flex;
justify-content: center;
flex-direction: column;
padding: 40px;
gap: 30px;
/* width:100%; */
}
.first {
background-color: hsl(31, 77%, 52%);
}
.second {
background-color: hsl(184, 100%, 22%);
}
.third {
background-color: hsl(179, 100%, 13%);
}
.carditem button {
width: 130px;
font-size: 15px;
height: 40px;
border-radius: 20px;
border: none;
background-color: hsl(0, 0%, 95%);
cursor: pointer;
transition: background-color 0.4s ease;
}
.carditem button:hover {
background-color: transparent;
border: 2px solid hsl(0, 0%, 95%);
color: hsl(0, 0%, 95%);
}
.first button {
color: hsl(31, 77%, 52%);
}
.second button {
color: hsl(184, 100%, 22%);
}
.third button {
color: hsl(179, 100%, 13%);
}
.carditem p {
flex-grow: 1;
color: hsla(0, 0%, 100%, 0.75);
font-size: 15px;
font-family: "Lexend Deca", sans-serif;
}
.carditem h1 {
color: hsl(0, 0%, 95%);
font-family: "Big Shoulders Display", cursive;
}
.carditem img {
width: 3rem;
}
@media screen and (max-width: 400px) {
body {
padding: 10px;
}
.cards {
flex-direction: column;
margin: 10px;
padding: 0;
border-radius: 10px;
}
}
@media screen and (max-width: 650px) {
body {
padding: 15px;
}
.cards {
flex-direction: column;
border-radius: 10px;
}
}