Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
73 lines (64 loc) · 1.77 KB
/
Copy pathstyle.css
File metadata and controls
73 lines (64 loc) · 1.77 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
/* Google fonts to display the font family */
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital@1&family=Noto+Sans:wght@300&family=Pangolin&family=Roboto+Mono&display=swap');
*{
padding: 0;
margin: 0;
}
/* Background color of the web page */
body{
background-color: #edeaff;
}
#name{
text-align: center;
margin: 30px auto;
font-size: 5rem;
letter-spacing: 5px;
font-family: monospace;
font-weight: bold;
}
/* Styling of the container which contains the Stopwatch */
.container{
height: 60vh;
width: 60vw;
position: absolute; /* position of the container */
top: 15%;
left: 20%;
margin-top: 30px;
border: 3px solid #fffff1;
padding: 5px auto;
border-radius: 20px;
background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url(images/background.png); /* An image is set alongwith the linear gradient */
background-size: cover; /* background image will be set as cover */
background-position: center; /* position of the background image */
text-align: center;
box-shadow: 0 10px 10px rgba(0,0,0,0.5);
}
/* This styling is for the timer */
.container h1{
font-family: 'Roboto Mono', monospace;
color: #fff;
font-size: 5rem;
font-weight: 300;
margin: 100px auto;
}
/* Styling for the various buttons */
.buttons{
display: flex;
align-items: center;
justify-content: center;
}
/* Setting the width and margin of the buttons */
.buttons img{
width: 60px;
cursor: pointer;
margin: 0 20px;
}
/* On hover box-shadow will appear */
.buttons img:hover{
box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
border-radius: 50%;
}
/* Increasing the width of Play button to differentiate it with others */
.buttons img:nth-child(2){
width: 80px;
}