-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
84 lines (74 loc) · 1.75 KB
/
style.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
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
80
81
82
83
84
* {
margin: 0;
padding: 0;
}
#color-logo {
animation-name: logo;
animation-duration: 10s;
animation-iteration-count: infinite;
background-color: orangered;
border-bottom: 2px solid orchid ;
border-top: 2px solid orchid ;
border-collapse: separate;
box-sizing: border-box;
height: 5rem;
font-size: 1rem;
width: 100%;
}
@keyframes logo {
0% {background-color: rgb(175, 64, 24);}
25% {background-color: rgb(177, 209, 61); font-size: 1.3rem;}
50% {background-color: rgb(168, 46, 97); font-size: 1.4rem;}
75% {background-color: rgb(36, 136, 150); font-size: 1.3rem;}
100% {background-color: rgb(197, 73, 28); font-size: 1rem;}
}
#color-logo > h1 {
color: #fff;
font-family: 'Amatic SC', cursive;
padding: 20px;
text-align: center;
width: auto;
}
.background {
background-image: url("https://media.cntraveller.in/wp-content/uploads/2016/01/spacelead-866x487.jpg");
background-repeat: no-repeat;
background-size: cover;
bottom: 0;
filter: brightness(200%);
left: 0;
position:fixed;
right: 0;
top: 0;
opacity: 0.1;
z-index: -1;
}
.container {
display: flex;
flex-wrap: wrap;
height: 100%;
justify-content: center;
padding-top: 20px;
position: relative;
width: 100%;
}
.container::window-inactive{
filter: blur(5px)
}
.container img {
border: 3px double rgb(53, 236, 77);
border-collapse: separate;
border-radius: 5px;
height: 20em;
margin: 20px;
transition: all 1s;
width: 30em;
}
img:hover{
box-shadow: 5px 5px 15px black;
transform: scale(1.1);
}
img:active{
border:none;
box-shadow: 200px 200px 200px black;
transform: scale(1.7);
}