-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDayStyles.css
54 lines (50 loc) · 1.38 KB
/
DayStyles.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
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,900&display=swap');
.box{
font-family: 'Poppins', sans-serif;
font-style: italic;
font-size: x-large;
color: purple;
width: 200px;
height: 200px;
background-image: url("./assets/Img/boxDayWallpaper.jpg");
background-position: center;
background-size: contain;
text-align: center;
border: 5px dashed rgb(0,255,0);
padding-top: 10px;
margin: 50px 25px;
line-height: 180px;
text-shadow: 1px 2px 5px rgb(255, 255, 255);
}
.box:hover{
color: yellow;
box-shadow: 10px 15px 10px 8px rgb(0, 0, 0);
cursor: pointer;
background-image: url("./assets/Img/boxNightWallpaper.jpg");
background-position: center;
background-size: cover;
text-shadow: 2px 2px 5px rgb(0, 0, 0);
}
body{
background: url("./assets/Img/BodyDayBackground.jpg") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
h1{
font-family: 'Poppins', sans-serif;
font-style: italic;
font-size: 5rem;
color: black;
text-shadow: 1px 1px 2px yellow, 0 0 5px white;
}
@media only screen and (max-width: 600px) {
.box{
width: 100px;
height: 100px;
}
h1{
font-size: 3px
}
}