-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylesheet.css
136 lines (114 loc) · 2.35 KB
/
stylesheet.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
126
127
128
129
130
131
132
133
134
135
136
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
font-family: 'Fredoka One', cursive;
background-color: rgb(1, 83, 113);
color: #fff;
}
.container{
width: 1280px;
margin: auto;
}
#header{
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
min-height: 70px;
padding: 0 20px;
}
#header h2{font-size: 2rem;}
.user_input{
margin-top: 2px;
width: 350px;
text-align: center;
}
.user_input input{
width: 75%;
outline: none;
padding: 8px;
border: 1px solid lightgray;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
-webkit-transition: all 0.30s ease-in-out;
-moz-transition: all 0.30s ease-in-out;
-ms-transition: all 0.30s ease-in-out;
-o-transition: all 0.30s ease-in-out;
transition: all 0.30s ease-in-out;
}
.user_input input:focus{
box-shadow: 0 0 5px #E22865;
border: 1px solid #E22865;
}
.user_input button{
cursor: pointer;
padding: 8px;
width: fit-content;
color: black;
transition: 1s;
outline: none;
background-color: lightgray;
border: 1px solid lightgray;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
.user-input button:hover{
background-color: transparent;
color: white;
}
#to_do_list{
width: 500px;
margin: auto;
}
.item{
display: flex;
justify-content: space-between;
width: 100%;
height: auto;
border-radius: 2px;
padding: 1rem;
color: #454545;
margin-top:10px;
font-size: 1rem;
background-color: white;
border: 1px solid lightgray;
text-transform: uppercase;
-webkit-transition: all 0.30s ease-in-out;
-moz-transition: all 0.30s ease-in-out;
-ms-transition: all 0.30s ease-in-out;
-o-transition: all 0.30s ease-in-out;
transition: all 0.30s ease-in-out;
}
.item:hover{
box-shadow: 0 0 20px #E22865;
border: 1px solid #E22865;
}
.item i{
cursor: pointer;
margin: 0 5px;
}
@media(max-width:1280px){
.container{width: 100%;}
}
@media(max-width:768px){
.container{width: 95%;}
#header{
padding: 20px;
gap: 10px;
align-items: center;
flex-direction: column;
}
#header h2{margin: 10px 0;}
.user_input{width: 100%;}
#to_do_list{width: 100%;}
}
@media(max-width:480px){
.user_input input{width: 74%;}
}
@media(max-width:320px){
.user_input input{width: 60%;}
}