-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.scss
126 lines (106 loc) · 2.31 KB
/
main.scss
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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-family: cursive;
background: hsla(260, 34%, 48%, 1);
background: linear-gradient(90deg, hsla(260, 34%, 48%, 1) 0%, hsla(330, 53%, 77%, 1) 100%);
background: -moz-linear-gradient(90deg, hsla(260, 34%, 48%, 1) 0%, hsla(330, 53%, 77%, 1) 100%);
background: -webkit-linear-gradient(90deg, hsla(260, 34%, 48%, 1) 0%, hsla(330, 53%, 77%, 1) 100%);
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#6D51A5", endColorstr="#E4A7C5", GradientType=1);
}
.container {
width: 95%;
margin: auto;
}
.nav {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
width: 100%;
margin: 25px 0;
h2 {
font-size: 2em;
color: #fff;
}
}
.userInputContainer {
width: 350px;
text-align: center;
input {
width: 80%;
outline: none;
padding: 8px;
border: none;
border: 1px solid #fff;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
font-family: cursive;
}
button {
cursor: pointer;
padding: 8px;
width: fit-content;
transition: 1s;
outline: none;
background-color: transparent;
border: 1px solid #fff;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
&:hover {
color: #fff;
}
}
}
.toDoItems {
width: 500px;
margin: auto;
}
.item {
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;
transition: all .3s ease-in-out;
background-color: #fff;
i {
cursor: pointer;
margin: 0 5px;
}
&:hover {
box-shadow: 0 0 20px #fff;
}
}
@media (max-width:768px) {
.nav {
align-items: center;
flex-direction: column;
h2 {
margin: 10px 0;
}
}
.userInputContainer {
width: 100%;
}
.toDoItems {
width: 100%;
}
}
@media (main-width:480px) {
.userInputContainer input {
width: 74%;
}
}
@media (main-width:320px) {
.userInputContainer input {
width: 60%;
}
}