-
Notifications
You must be signed in to change notification settings - Fork 0
/
component-styles.css
74 lines (63 loc) · 1.12 KB
/
component-styles.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
/* list-input */
input[type=text] {
padding: 5px;
margin: 0 10px;
border: 2px solid #ced4da;
border-radius: 4px;
}
/* list-stats */
/* list-item */
/* any item (used by list-item, list-input, list-stats */
.item {
display: flex;
flex-direction: row;
align-items: center;
margin: 10px 0;
padding: 12px 0 10px 10px;
background-color: #e9ecef;
box-shadow: 3px 3px 10px #e9ecef;
border-radius: 4px;
overflow: hidden;
transition: transform 0.1s ease-in-out;
}
.item:hover {
transform: translateY(-3px) scale(1.02);
box-shadow: 3px 3px 10px #d0ebff;
transition: all 0.1s ease-in-out;
}
.item p {
margin-bottom: 5px;
padding-left: 9px;
}
/* custom-header */
header {
padding: 8px;
display: flex;
justify-content: center;
align-items: center;
}
header h1 {
padding: 8px;
font-size: 64px;
}
/* custom-main */
main {
display: flex;
justify-content: center;
width: 100%;
}
#list-items-wrapper {
width: 85vw;
max-width: 600px;
min-width: 250px;
}
/* custom-footer */
footer {
padding: 3px;
font-size: 16px;
margin: 10px;
}
footer p {
text-align: center;
font-size: 18px;
}