-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
43 lines (40 loc) · 1.09 KB
/
Copy pathstyle.css
File metadata and controls
43 lines (40 loc) · 1.09 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
/*----------------- GOOGLE FONTS -----------------*/
@import url('https://fonts.googleapis.com/css2?family=PT+Serif&display=swap');
/*----------------- VARIABLES -----------------*/
:root {
/* Colors */
--white_color: rgb(255, 255, 255);
--Keshri_color: rgb(255, 153, 51);
}
/*----------------- Base -----------------*/
* {
box-sizing: border-box;
padding: 0;
margin: 0;
font-family: 'PT Serif', serif;
color: var(--white_color);
}
/*----------------- Styling Start -----------------*/
.container {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background-color: var(--Keshri_color);
}
.image {
width: 30rem;
height: 30rem;
background-color: var(--white_color);
background-position: center;
background-repeat: no-repeat;
background-image: url('images/Shri-ram-1.png');
border-radius: 1rem;
transition: 3s;
margin-bottom: 1rem;
cursor: pointer;
}
.image:hover {
background-image: url('images/Shri-ram-2.png');
}