-
Notifications
You must be signed in to change notification settings - Fork 14
/
styles.css
113 lines (95 loc) · 1.63 KB
/
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
:root {
--primary: #A5C882;
--secondary: #D33F49;
--light: #fff;
--dark: #000;
--diabled: #e7e7e7;
}
body {
font-family: 'Lato', sans-serif;
margin: 0;
height: 100vh;
background-color: var(--diabled);
}
*:first-letter {
text-transform: capitalize;
}
.roundBorder {
border-radius: 5px;
}
.list {
margin: 25px auto;
padding: 25px;
background-color: var(--light);
width: 100%;
max-width: 350px;
}
.date {
display: flex;
align-items: center;
justify-content: space-between;
}
.dateRight {
display: flex;
align-items: center;
}
#dateNumber {
font-size: 50px;
}
#dateText {
letter-spacing: 3px;
text-transform: uppercase;
}
#dateMonth,
#dateNumber,
#dateText {
font-weight: bold;
}
#dateMonth,
#dateYear {
margin-left: 7px;
font-size: 20px;
}
form {
margin: 20px 0;
display: grid;
grid-auto-flow: column;
grid-template-columns: auto 35px auto;
grid-column-gap: 15px;
}
input {
border: none;
padding-left: 10px;
background-color: var(--diabled);
}
input:focus {
outline: none;
}
.addTaskButton,
.orderButton {
border: none;
font-weight: bold;
cursor: pointer;
}
.addTaskButton {
height: 35px;
border-radius: 50%;
font-size: 18px;
background-color: var(--diabled);
}
.orderButton {
background-color: var(--secondary);
color: var(--light);
}
.task {
background-color: var(--primary);
padding: 15px;
margin-top: 15px;
color: var(--light);
cursor: pointer;
}
.done {
background-color: var(--diabled);
text-decoration: line-through;
color: var(--dark);
}