-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
92 lines (80 loc) · 1.51 KB
/
style.css
File metadata and controls
92 lines (80 loc) · 1.51 KB
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
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
margin-top: 50px;
font-family: "Ubuntu";
}
.section {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin: auto;
width: 80%;
}
.section__title {
color: rgb(110, 110, 199);
text-align: center;
font-size: 32px;
margin: 20px;
}
.search {
margin-bottom: 32px;
border-radius: 12px;
border: 2px solid rgb(110, 110, 199);
line-height: 32px;
width: 400px;
}
.search:focus {
outline: 1px solid rgb(110, 110, 199);
}
.alert {
display: none;
padding: 12px;
font-size: 16px;
text-align: center;
line-height: 150%;
border-radius: 6px;
background-color: rgba(235, 87, 87, 0.2);
color: #eb5757;
max-width: 550px;
margin: 0 auto;
}
.alert.alert_visible {
display: block;
}
.grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 24px;
margin-top: 64px;
}
.card {
position: relative;
text-align: center;
padding: 18px;
background-color: rgba(209, 205, 201, 0.668);
border: 2px solid rgb(110, 110, 199);
border-radius: 8px;
box-shadow: 4px 4px 8px 1px rgba(143, 143, 143, 0.6);
width: 200px;
height: 150px;
}
.card__title {
color: rgb(110, 110, 199);
margin-bottom: 32px;
}
.card__time {
position: absolute;
right: 10px;
bottom: 10px;
font-size: 12px;
color: rgb(111, 111, 111);
}