-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
137 lines (131 loc) · 3.07 KB
/
main.css
File metadata and controls
137 lines (131 loc) · 3.07 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
@charset "UTF-8";
* {
padding: 0;
margin: 0;
font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
font-size: 10px;
box-sizing: border-box;
}
html body {
display: grid;
place-content: center;
height: 100vh;
height: 100svh;
}
/* for genral styleing fot * , body , html*/
#main {
height: 100vh;
height: 100svh;
width: 100vw;
display: flex;
align-items: center;
background-color: #ceccc9;
gap: 35px;
padding: 35px;
}
#main > .section {
/*the 3 sec basicsSec intermidiateSec expertSec*/
height: 100%;
flex-grow: 1;
border-radius: 10px;
background-color: #f5f2eb;
box-shadow: 0 4px 8px 0 rgba(73, 62, 118, 0.2784313725);
padding: 15px 10px;
display: flex;
flex-direction: column;
}
#main > .section > .title-Sec {
position: relative;
color: #493e76;
font-size: 4rem;
font-weight: 900;
height: 5rem;
padding: 0px 0px 5px 0px;
}
#main > .section > .title-Sec::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
height: 100%;
width: 70%;
border-bottom: 2px #493e76 solid;
}
#main > .section > .content-Sec {
height: calc(100% - 5rem);
/*It’s not a bug, it’s a feature*/
padding: 10px 0px 0px 0px;
}
#main > .section > .content-Sec > .contaner {
height: 100%;
overflow-y: scroll;
scrollbar-width: thin;
}
/*to not be nested hell above*/
#main > .section > .content-Sec > .contaner > .todo-element {
display: flex;
align-items: center;
gap: 10px;
height: fit-content;
width: fit-content;
padding: 2px 5px;
margin: 3px 0px;
transition: transform 200ms;
}
#main > .section > .content-Sec > .contaner > .todo-element:hover {
transform: scale(1.1);
}
#main > .section > .content-Sec > .contaner > .todo-element > .checkBoxTodo {
cursor: pointer;
appearance: none;
aspect-ratio: 1;
height: 2rem;
border: 2.5px #493e76 solid;
display: grid;
place-items: center;
}
#main > .section > .content-Sec > .contaner > .todo-element > .checkBoxTodo::after {
content: "";
aspect-ratio: 1;
height: 100%;
background-color: #493e76;
transform: scale(0);
transition: transform 200ms;
}
#main > .section > .content-Sec > .contaner > .todo-element > .checkBoxTodo:checked::after {
transform: scale(1);
}
#main > .section > .content-Sec > .contaner > .todo-element > .TodoContent {
cursor: default;
color: #0b0a05;
font-size: 2rem;
font-weight: 400;
}
#main > .section > .content-Sec > .contaner > .todo-element.todoDone {
opacity: 0.6;
}
#main > .section > .content-Sec > .contaner > .todo-element.todoDone > .TodoContent {
text-decoration: line-through;
text-decoration-thickness: 2px;
}
@media screen and (max-width: 900px) {
#main {
flex-direction: column;
gap: 8px;
padding: 8px;
}
#main > .section {
width: 100%;
}
#main > .section > .title-Sec {
font-size: 3.2rem;
}
#main > .section > .content-Sec > .contaner > .todo-element > .TodoContent {
font-size: 1.7rem;
}
#main > .section > .content-Sec > .contaner > .todo-element > .checkBoxTodo {
height: 1.7rem;
border: 2px #493e76 solid;
}
}
/*# sourceMappingURL=main.css.map */