-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
119 lines (98 loc) · 1.87 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
114
115
116
117
118
119
/* main and card styling and structure */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
main {
width: 100%;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: rgb(50, 50, 50);
}
h1 {
display: flex;
align-items: center;
justify-content: center;
width: 320px;
border-bottom: 2px solid black;
margin-bottom: 10px;
}
#card {
width: 50rem;
height: 35rem;
background-color: lightgray;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
border-radius: 30px;
}
#left, #right {
display: flex;
flex-direction: column;
justify-content: top;
align-items: center;
height: 30rem;
width: 20rem;
}
.vert-line {
height: 30rem;
width: 1px;
border: 1px solid black;
}
/* list style and hover effect */
ul {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 0;
padding: 0;
}
ul li {
list-style: none;
cursor: pointer;
position: relative;
padding: 10px 100px 10px 16px;
width: 320px;
background: rgb(200, 200, 200);
}
ul li:nth-child(odd) {
background: none;
}
ul li:hover {
background: rgb(150, 150, 150);
color: whitesmoke;
}
/* close and check button styling and hover effects */
.close {
position: absolute;
right: 0;
top: 0;
padding: 10px 16px;
}
.check {
position: absolute;
height: 38px;
right: 40px;
top: 0;
padding: 10px 16px;
}
.close:hover {
background: rgb(120, 0, 0);
}
.check:hover {
background-color: rgb(0, 120, 0);
}
/* add task button styling */
.add {
border: 2px solid rgb(120, 120, 120);
background-color: rgb(200, 200, 200);
width: 280px;
height: 25px;
margin-bottom: 10px;
}