-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss.css
More file actions
80 lines (64 loc) · 1.38 KB
/
css.css
File metadata and controls
80 lines (64 loc) · 1.38 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
* {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body{
background: url(https://i.ibb.co/CspJs0w/d63006e9eea683cac420b1be611a3eb5.jpg);
background-size: 100% 100%;
background-attachment: fixed;
color: white;
font-size: 16px;
}
.wrap{
max-width: 800px;
margin: 150px auto;
display: flex;
justify-content: center;
}
.widget{
width: 345px;
margin: auto auto;
}
.widget p{
display: inline-block;
line-height: 1em;
}
.fecha{
font-family:'Times New Roman', Times, serif;
text-align: center;
font-size: 1.5em;
margin-bottom: 5px;
background: rgba(1, 2, 0, 0.575);
padding: 20px;
width: 100%;
border-radius: 0.5rem;
}
.reloj{
font-family:'Times New Roman', Times, serif;
text-align: center;
font-size: 4em;
padding: 20px;
width: 100%;
background: rgba(1, 2, 0, 0.575);
border-radius: 0.5rem;
}
.reloj .caja-segundos{
display: inline-block;
}
.reloj .segundos, .reloj .ampm{
font-size: 2rem;
display: block;
}
@media (max-width: 355px){
.fecha{ font-size: 1.2em;}
.reloj{font-size: 3.5em;}
.reloj .segundos, .reloj .ampm{font-size: 1.6rem;}
}
@media (max-width: 281px){
.fecha{ font-size: 1em;}
.reloj{font-size: 3.2em;}
.reloj .segundos, .reloj .ampm{font-size: 1.3rem;}
}