-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
45 lines (43 loc) · 1.03 KB
/
styles.css
File metadata and controls
45 lines (43 loc) · 1.03 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
/**
* This CSS file contains styles for a clock application.
*
* Styles:
* - Sets the background image and position
* - Sets the font family, size, weight, and color
* - Sets the background color and opacity
* - Sets the width and text shadow
* - Styles the clock container and clock element
*
* @author [Luis Gonzales](https://github.com/kookylo)
* @version 1.0
*/
body {
background-image: url(images/fantsylion.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
margin: 0;
font-family: monospace;
font-size: 6.5rem;
font-weight: bold;
text-align: center;
color: white;
background-color: hsla(0, 0%, 100%, 0.1);
width: 100%;
text-shadow: 3px 3px 5px hsl(0, 0%, 0%);
}
#clock-container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
#clock {
font-size: 6rem;
color: white;
background-color: rgba(0, 0, 0, 0.2);
padding: 1rem;
border-radius: 0.5rem;
box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}