-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
105 lines (89 loc) · 1.5 KB
/
Copy pathstyles.css
File metadata and controls
105 lines (89 loc) · 1.5 KB
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
:root {
font-size: 16px;
font-family: Arial, Helvetica, sans-serif;
}
*, *::after, *::before {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100%;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: linear-gradient(35deg, rgb(255, 125, 0), rgb(125, 255, 0));
}
#outer-container {
background-color: white;
padding: 1.2rem;
border-radius: 10px;
width: 50%;
min-width: 250px;
}
h1 {
padding-bottom: 0.3em;
}
#input-container {
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
}
#todo-name,
#create-todo {
display: block;
margin: 0 0 1em;
padding: 0.3em;
font-size: 0.9rem;
}
#todo-name {
overflow: hidden;
flex: 1 1 0;
}
#create-todo {
flex: 0 1 auto;
}
.divider {
border: 1px solid rgb(0 0 0);
border-radius: 100%;
}
#bottom-container {
padding: 1.4rem 0 0.2rem;
}
#todo-ulist {
width: 100%;
list-style-type: none;
}
.todo-item {
position: relative;
margin: 0 1em;
padding: 8px;
background-color: cadetblue;
border: 1px solid black;
border-radius: 4px;
}
.todo-item:not(:last-of-type) {
margin-bottom: 0.5em;
}
.todo-item > button {
display: block;
float: right;
padding: 2px;
font-size: 0.9rem;
}
.edit-input {
visibility: hidden;
position: absolute;
box-sizing: content-box;
display: inline-block;
font-size: 1rem;
top: 50%;
left: 6px;
transform: translateY(-50%);
}
.edit-input:focus {
visibility: visible;
}