forked from Groverio/To-Do-List
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
120 lines (107 loc) · 2.3 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: url('assets/background.png') no-repeat center center fixed;
background-size: cover;
}
h1 {
text-align: center;
color: #fff;
margin-bottom: 20px;
text-shadow: 2px 2px 4px #000;
}
.js-name-input,
.js-date-input,
.js-time-input {
font-size: 15px;
padding: 10px 15px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #fff;
color: #333;
outline: none;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.js-add-grid {
display: grid;
grid-template-columns: 200px 140px 140px 100px;
column-gap: 10px;
row-gap: 10px;
align-content: center;
background-color: rgba(255, 255, 255, 0.9);
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 600px;
margin: 0 auto;
}
.js-add-button {
background-color: green;
color: white;
border: none;
font-size: 15px;
font-weight: bold;
cursor: pointer;
border-radius: 5px;
padding: 10px 20px;
transition: background-color 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}
.js-add-button:hover {
background-color: darkgreen;
}
.js-delete-button,
.js-edit-button {
border: none;
font-size: 15px;
font-weight: bold;
cursor: pointer;
border-radius: 5px;
height: 45px;
padding: 0 15px;
display: flex;
align-items: center;
justify-content: center;
transition: background-color 0.3s ease;
}
.js-delete-button {
background-color: red;
color: white;
}
.js-delete-button:hover {
background-color: darkred;
}
.js-edit-button {
background-color: skyblue;
color: white;
}
.js-edit-button:hover {
background-color: deepskyblue;
}
.small-container {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
border: 1px solid #ccc;
height: 45px;
padding: 0 15px;
border-radius: 5px;
text-align: center;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Icons */
.js-add-button img,
.js-delete-button img,
.js-edit-button img {
margin-right: 5px;
}