-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
91 lines (75 loc) · 1.52 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
*,
html,
body {
margin: 0;
padding: 0;
font-family: 'Silkscreen', cursive;
}
:root {
--bg-primary: rgb(44, 121, 214);
--bg-secondary: #eaeaea;
--txt-primary: #f7f7f7;
--txt-secondary: #222222;
--icons-bg-primary: tomato;
--icons-bg-secondary: #777777;
}
.container {
width: 100%;
height: 150vh;
background-color: var(--bg-primary);
border: 2px solid red;
overflow: hidden;
}
.wrapper {
display: flex;
flex-direction: row;
justify-content: center;
width: 100%;
height: auto;
}
.card {
flex:1;
border: 1px solid white;
background-color: var(--bg-secondary);
color: var(--txt-secondary);
padding: 32px;
margin: 8px;
box-shadow: 2px 2px 2px 2px rgba(0, 0, 0,0.5);
}
.text-center {
text-align: center;
}
.title {
font-size: 2em;
}
.icons {
margin-top: 8px;
font-size: 24px;
color: var(--icons-bg-primary);
}
.description {
margin-top: 8px;
font-size: 0.5em;
}
.btn {
margin-top: 8px;
padding: 8px;
cursor: pointer;
border: none;
width: 100%;
}
.btn:hover {
background-color: var(--bg-primary);
color: var(--txt-primary);
transform: rotate(2deg);
transition: 0.3s ease-in-out;
}
@media (max-width: 768px) {
.wrapper {
flex-direction: column; /* stack items vertically on smaller screens */
}
.card {
width: 200px; /* make the card smaller on smaller screens */
height: 150px; /* make the card smaller on smaller screens */
}
}