-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
125 lines (117 loc) · 2.37 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
121
122
123
124
125
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
body {
position: relative;
margin: 0;
min-height: 100vh;
background-color: #effeff;
}
#todoCard {
width: 300px;
}
#todoCard h1 {
font-size: 48px;
margin-bottom: 5px;
font-family: 'Roboto', sans-serif;
color: #0d364e;
}
input {
font-size: 17px;
height: 30px;
width: calc(100% - 60px);
background-color: #effeff;
border: 2px solid #5e8284;
color: #0d364e;
}
input::placeholder {
color: #5e8284;
}
#addGoalBtn,
#addTodoBtn {
width: 36px;
height: 36px;
background-color: #4dc85a;
border-radius: 18px;
position: relative;
border: none;
transform: translateX(-5px);
}
#addGoalBtn,
#addTodoBtn:hover {
cursor: pointer;
}
#addBtn {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
ul {
padding-left: 0px;
}
li {
user-select: none; /* supported by Chrome and Opera */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
display: inline-flex;
width: 75%;
background-image: url(./icons/bullet.svg);
background-repeat: no-repeat;
padding-left: 25px;
background-color: #d1f4f1;
height: 40px;
margin-left: 0px;
margin-bottom: 20px;
font-family: 'Lato', sans-serif;
color: #0d364e;
line-height: 40px;
font-size: 20px;
}
li:hover {
cursor: pointer;
}
ul > img {
width: 30px;
transform: translate(10px, 10px);
}
ul > img:hover {
cursor: pointer;
}
#line {
width: 300px;
height: 2px;
background-color: #adc7d6;
}
#container {
display: flex;
flex-direction: column;
align-items: center;
}
@media (min-width: 800px) {
#container {
padding-top: 100px;
flex-direction: row;
justify-content: center;
align-items: flex-start;
gap: 20px;
}
#line {
width: 2px;
height: 300px;
margin-right: 20px;
}
}
@media (max-width: 370px) {
#container {
transform: scale(0.8);
margin-top: -80px;
}
}
@media (max-width: 290px) {
#container {
transform: scale(0.7);
margin-top: -120px;
}
}