-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
140 lines (114 loc) · 2.39 KB
/
style.css
File metadata and controls
140 lines (114 loc) · 2.39 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
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
137
138
139
140
@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-image: linear-gradient(to right,#e31a35, #9837cd);
color: white;
}
.container{
/* border: 1px solid black; */
width: 95%;
margin: auto;
}
.nav{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
width: 100%;
margin: 25px 0;
}
.user-input{
/* border: 1px solid black; */
width: 350px;
text-align: center;
}
.user-input input{
width: 80%;
outline: none;
padding: 8px;
border: 1px solid lightgray;
border-top-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;
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-items{
width: 500px;
margin: auto;
}
.item{
background-color: white;
display: flex;
justify-content: space-between;
width: 100%;
height: auto;
border-radius:2px ;
padding: 16px;
color: #454545;
margin-top:10px;
font-size: 1rem;
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: 768px){
.nav{
align-items: center;
flex-direction: column;
}
.nav h2{
margin: 10px 0;
}
.user-input{
width: 100%;
}
.to-do-items{
width: 100%;
}
}
@media(max-width:480px){
.user-input input{
width: 74%;
}
}
@media(max-width:320px){
.user-input input{
width: 60%;
}
}