-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
190 lines (166 loc) · 3.09 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
* {
font-family: Platypi, Arial, sans-serif;
}
/* Global styles */
body {
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
/* Container styles */
.container {
width: 80%;
min-width: 400px;
max-width: 1100px;
margin: 20px auto;
display: flex;
justify-content: space-between;
}
.side-section{
display: flex;
flex-direction: column;
}
form{
flex: 0 0 15%;
background-color: #F7E0AC;
border: 2px solid darkblue;
border-radius: 10px;
padding: 10px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
margin: 3px;
}
/* Styles for Categories */
.categories {
flex: 0 0 15%;
background-color: #FFDAB9;
border: 2px solid darkblue;
border-radius: 10px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
padding-left: 15px;
margin: 3px;
}
.categories-title {
font-weight: bold;
font-size: 24px;
margin-bottom: 5px;
text-align: center;
}
.category {
display: block;
margin-bottom: 5px;
}
.hidden {
display: none;
}
/* Styles for Task List */
.task-list {
flex: 1;
background-color: #FCD4A1;
border: 2px solid black;
border-radius: 10px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
padding: 10px;
min-height: 800px;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
align-items: start;
}
.task-list > div {
min-width: 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding: 10px;
border: 2px solid #FFEF6A;
border-radius: 10px;
background-color: #FFF6AD;
}
#Work-tasks {
background-color: #FF6347;
border-color: #FF6347;
color: #FFFFFF;
}
#Personal-tasks {
background-color: #4682B4;
border-color: #4682B4;
color: #FFFFFF;
}
#Other-tasks {
background-color: #32CD32;
border-color: #32CD32;
color: #FFFFFF;
}
.tasks-column h2 {
width: 100%;
text-align: center;
margin-top: 0;
margin-bottom: 20px;
}
h1 {
text-align: center;
}
html {
height:100%;
}
body {
margin:0;
}
.bg {
animation:slide 3s ease-in-out infinite alternate;
background-image: linear-gradient(-60deg, #ead081 50%, #eabb81 50%);
bottom:0;
left:-50%;
opacity:.5;
position:fixed;
right:-50%;
top:0;
z-index:-1;
}
.bg2 {
animation-direction:alternate-reverse;
animation-duration:4s;
}
.bg3 {
animation-duration:5s;
}
.content {
background-color:rgba(255,255,255,.8);
border-radius:.25em;
box-shadow:0 0 .25em rgba(0,0,0,.25);
box-sizing:border-box;
left:50%;
padding:10vmin;
position:fixed;
text-align:center;
top:50%;
transform:translate(-50%, -50%);
}
.categories label[for="category-Work"] {
color: #FF6347;
}
.categories label[for="category-Personal"] {
color: #4682B4;
}
.categories label[for="category-Other"] {
color: #32CD32;
}
@keyframes slide {
0% {
transform:translateX(-25%);
}
100% {
transform:translateX(25%);
}
}
@media screen and (max-width: 768px) {
.container {
min-width: 80%;
flex-direction: column; /* Stack items vertically */
}
.categories,
.task-list {
width: 100%; /* Take up full width when stacked */
margin-bottom: 20px; /* Add spacing between stacked items */
}
}