-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
191 lines (191 loc) · 4.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
191
/*Scroll bar layout
Works on Firefox*/
* {
scrollbar-width: thin;
scrollbar-color: rgba(242, 253, 220, 0.75) rgba(0, 128, 128, 0.75);
}
/*Scroll bar layout
Works on Chrome, Edge, and Safari*/
*::-webkit-scrollbar {
width: 12px;
}
*::-webkit-scrollbar-track {
background: rgba(242, 253, 220, 0.75);
}
*::-webkit-scrollbar-thumb {
background-color: rgba(0, 128, 128, 0.75);
border-radius: 20px;
border: 3px solid rgba(242, 253, 220, 0.75);
}
/* Page body layout */
body {
width: 99.7%;
background: #454b4b;
color: #a8942c;
}
/* Header layout */
header {
display: flex;
flex-direction: row;
width: 90%;
margin: 0 4% 0 4%;
}
/* Alura Logo layout */
#logoAlura {
margin: 2% 0 2% 6%;
width: 3rem;
height: 4rem;
}
/* header image layout */
#tituloEncriptador {
width: 70%;
align-self: center;
margin: 0 0 2% 5%;
}
/* Page main layout */
main {
width: 90%;
margin: 0 4% 0 4%;
background: url("images/animacionMorse.png") center repeat-y;
background-size: 90%;
}
/* Encrypt/Decrypt text boxes layout */
.textContainer {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
/* Encrypt Text text box configuration */
#originalText {
width: 16em;
height: 14em;
padding: 1rem;
margin-left: 2%;
background: none;
resize: none;
border: none;
border-radius: 1rem;
color: #7071a7;
outline: none;
font-size: 2rem;
font-weight: bold;
}
/* Encrypt Text text box placeholder layout */
#originalText::placeholder {
color: #7172a9;
font-size: xx-large;
font-weight: bold;
}
/* Decrypt Text text box configuration */
#resultText {
resize: none;
border: solid #8278cd;
border-radius: 1rem;
color: #c0ef6c;
background: rgba(142, 129, 218, 0.63) url("images/muñeco.png") no-repeat center;
outline: none;
font-size: x-large;
font-weight: bold;
width: 26em;
height: 40em;
padding: 1em;
margin: 0 2% 0 2%;
}
/* Decrypt Text text box placeholder layout */
#resultText::placeholder {
color: #c0ef6c;
text-align: center;
font-size: xx-large;
padding-top: 20%;
font-weight: bold;
}
/* Buttons layout */
.buttonContainer {
display: flex;
flex-wrap: wrap-reverse;
justify-content: space-evenly;
}
/* Buttons configuration */
.buttonContainer button {
position: relative;
padding: 2em;
width: 20em;
height: 5em;
border-color: transparent;
border-radius: 2em;
margin: 2% 0 2% 0;
transition: background 1s;
color: #b99976;
cursor: pointer;
font-style: normal;
font-weight: normal;
font-size: 20px;
line-height: 20px;
text-align: center;
outline-color: transparent;
}
.buttonContainer button:is(:hover, :focus) {
box-shadow: 0 0 3px 3px #7071a7;
}
/* Encrypt Button configuration */
#encryptButton {
background: rgb(72, 136, 136);
cursor: pointer;
}
/* Encrypt Button hover configuration */
#encryptButton:hover {
background: rgb(112, 155, 155);
cursor: pointer;
}
/* Encrypt Button active configuration */
#encryptButton:active {
background: #c4f8f8;
cursor: pointer;
}
/* Decrypt Button configuration */
#decryptButton {
background: #008080;
cursor: pointer;
}
/* Decrypt Button hover configuration */
#decryptButton:hover {
background: #33b7b7;
cursor: pointer;
}
/* Decrypt Button active configuration */
#decryptButton:active {
background: #8ec9c9;
cursor: pointer;
}
/* Copy Button configuration */
#copyButton {
background: rgb(43, 103, 103);
cursor: pointer;
}
/* Copy Button hover configuration */
#copyButton:hover {
background: rgb(30, 110, 110);
cursor: pointer;
}
/* Copy Button active configuration */
#copyButton:active {
background: rgb(10, 87, 87);
cursor: pointer;
}
/* Footer configuration */
footer {
padding-top: 2%;
background: rgba(112, 113, 167, 0.49);
text-align: center;
font-size: 2rem;
}
/* Footer image layout */
#footerAluraChallenge {
width: 70%;
}
/* Footer text layout */
#acercaAnimaciones {
text-align: center;
color: rgba(170, 170, 170, 0.52);
padding: 0 3% 3% 3%;
}