-
Notifications
You must be signed in to change notification settings - Fork 0
/
StyleSheet.css
167 lines (141 loc) · 2.95 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
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
:root{
--transition-Time: 0.1s;
--completed-red: rgb(255, 100, 100);
--clip-board-color: rgb(130,102,68);
--hover-color: rgb(106, 156, 238);
--li-hover: 0,0,0;
--background-color: rgba(104, 193, 198, 0.574);
--btn-color: rgb(115, 115, 115);
--metal-clip: rgb(164, 164, 164);
--paper-color: rgb(210, 210, 210);
}
*{
border-radius: 5px;
}
body{
background-color: var(--background-color);
}
/* Make container center items and set font */
.container{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: 2rem;
font-family: 'Ubuntu', sans-serif;
position: relative;
}
.clipBoard{
background-color: var(--clip-board-color);
width: 800px;
height: 100%;
display: flex;
align-items: center;
flex-direction: column;
margin-top: 20px;
border-radius: 75px;
}
#clip{
background-color: var(--metal-clip);
width: 300px;
height: 100px;
position: absolute;
top: 0px;
}
#paper{
width: 700px;
min-height: 650px;
background-color: var(--paper-color);
z-index: 2;
margin-top: 50px;
display: flex;
align-items: center;
flex-direction: column;
margin-bottom: 50px;
}
form{
display: flex;
align-items: center;
flex-direction: column;
background-color: var(--paper-color);
z-index: 4;
}
h1{
width: max-content;
background-color: var(--metal-clip);
padding: 10px 20px;
margin-top: -20px;
border-radius: 20px;
}
/* Make placeholder text white and centered */
::placeholder{
color: rgb(0, 0, 0);
text-align: center;
}
/* Make input text white and add transition time */
#input{
font-size: 1.5rem;
color: black;
outline: none;
border: 2px solid black;
transition: var(--transition-Time);
margin-top: -23px;
}
/* Change border on hover */
#input:hover{
border: 2px solid var(--hover-color);
transition: var(--transition-Time);
outline: none;
}
#input:hover::placeholder{
color: var(--hover-color);
}
/* Center three buttons */
#btnCon{
display: flex;
width: 300px;
font-size: 1.5rem;
justify-content: space-around;
margin-top: 10px;
}
/* Size buttons and add transition time */
.btn{
width: 50px;
height: 30px;
color: white;
transition: var(--transition-Time);
background-color: var(--btn-color);
}
.btn:hover{
color:var(--hover-color);
transition: var(--transition-Time);
border: 2px solid var(--hover-color);
}
/* UL lists are not centered normal because of the DOM */
#list{
padding: 0px;
display: flex;
align-items: center;
flex-direction: column;
}
/* Style li items to make boxes */
li {
width: max-content;
max-width: 600px;
list-style-type: none;
padding: 10px;
margin: 5px;
border: 2px solid rgb(0, 0, 0);
transition: var(--transition-Time);
}
li:hover{
color: rgb(var(--li-hover));
transition: var(--transition-Time);
}
/* Style the completed list items with strike through*/
.completed{
text-decoration: line-through var(--completed-red);
}
.completed:hover{
color: var(--completed-red);
}