-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
66 lines (61 loc) · 1.32 KB
/
styles.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
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:[email protected]&display=swap');
body {
background-color: rgb(10, 10, 10);
}
#screen {
/* Fija el contenedor en una posición
Fija las compenentes en posiciones relativas al contenedor */
position: fixed;
/* Fija el tamaño del contenedor */
max-width: 40%;
/* Centra el contenedor */
margin: 3% 30%;
border: 6px ridge rgb(150, 150, 150);
}
#background-image {
/* Fija el tamaño de la imagen en el tamaño del ancho del contenedor */
max-width: 100%;
}
#description {
position: absolute;
top: 2%;
right: 2%;
left: 2%;
background: rgba(0, 0, 0, 0.5);
text-align: center;
color: #f1f1f1;
padding: 1%;
border: none;
}
/* pixelated font */
.pixelated {
font-family: "Pixelify Sans", sans-serif;
font-optical-sizing: auto;
font-style: normal;
color:#fff;
font-size: 120%;
}
/* option buttons */
.option {
position: absolute;
bottom: 2%;
background: rgba(0, 0, 0, 0.5);
text-align: center;
color: #f1f1f1;
max-width: 41%;
padding: 1%;
border: none;
transition-duration: 0.25s;
}
.option:hover {
background: rgba(200, 200, 200, 0.8);
color: #000;
font-weight: bold;
cursor: pointer;
}
#leftOption {
left: 2%;
}
#rightOption {
right: 2%;
}