-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
97 lines (96 loc) · 1.53 KB
/
main.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
/* ------------ */
*,
*::after,
*::before {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
height: 100%;
}
/* ------------ */
body {
font-family: monospace;
height: 100%;
}
h1 {
width: 100%;
margin-bottom: 40px;
}
/* ------------ */
.container {
height: 100%;
width: 100%;
max-width: 570px;
margin: 0 auto;
padding: 60px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/* ------------ */
.form {
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr 80px;
grid-column-gap: 10px;
}
.form-submit {
outline: none;
border: 1px solid rgb(232, 232, 232);
background-color: white;
border-radius: 5px;
cursor: pointer;
font-family: monospace;
font-size: 14px;
line-height: 36px;
}
.form-submit:focus {
box-shadow: 0 0 0 0.5px rgb(153, 153, 153);
}
.cards {
display: flex;
margin: 20px 0;
width: 100%;
}
.card-item {
width: 100%;
padding: 5px 20px 20px;
border: 1px solid rgb(232, 232, 232);
background-color: white;
border-radius: 5px;
}
.card-info {
margin-top: 40px;
display: flex;
justify-content: space-between;
}
.card-activity {
line-height: 1.2;
margin-top: 10px;
}
.tag-error {
width: 100%;
text-align: center;
}
/* ------------ */
.is-element-hidden {
display: none;
}
/* ------------ */
@media (max-width: 620px) {
.container {
width: 100%;
max-width: 100%;
margin: 0 auto;
padding: 60px 20px;
}
.form {
width: 100%;
display: grid;
grid-template-columns: 1fr;
grid-gap: 10px;
}
}