-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstructionstyle.css
137 lines (112 loc) · 2.8 KB
/
instructionstyle.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
/* importing font form google fonts */
@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Dancing+Script&display=swap');
/* Setting background image for page */
body{
background-image: url('./srcImages/moon-purple.gif');
background-repeat: no-repeat;
background-size: cover;
}
/* making a keyframe for animation */
@keyframes floating2{
0% {
transform: translateY(0);
}
50%{
transform: translateY(8px);
}
100%{
transform: translateY(0);
}
}
/* styling our headings and main div */
#main{
display: flex;
justify-content: center;
align-items: center;
height: 97.5vh;
}
#hiname{
color: rgb(226, 155, 68);
font-family: 'Dancing Script';
font-size: 5vw;
padding-bottom: 4vw;
display: flex;
justify-content: center;
font-weight: 700;
animation: glow 1s ease-in-out infinite alternate;
}
/* taken this glow webkit keyframe from w3 schools but text shadows are changed */
@keyframes glow {
from {
text-shadow: 0 0 10px #332f2f, 0 0 20px #211e1e, 0 0 30px #3b3538, 0 0 40px #3f3c3d, 0 0 50px #1e1c1d, 0 0 60px #1c191a, 0 0 70px #241f22;
}
to {
text-shadow: 0 0 20px #393030, 0 0 30px #443d41, 0 0 40px #eadde4, 0 0 50px #3c373a, 0 0 60px #201d1e, 0 0 70px #3d383b, 0 0 80px #1a1819;
}
}
/* using floating2 keyframe for animaton here */
#insthead{
display: flex;
justify-content: center;
color: rgb(160, 202, 229);
animation: floating2 3.5s ease-in-out infinite;
font-family:'Dancing Script';
font-weight: 600;
font-size: 2.5vw;
padding-bottom: 1vw;
}
/* using vw for giving size so that site become responsive for different displayed */
#bottom{
background-color: rgb(23, 10, 10,0.6);
padding: 1.5vw;
border-radius: 35px 8px ;
animation: floating2 5s ease-in-out infinite;
}
#list{
color: bisque;
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-weight: 400;
font-size: 1.7vw;
animation: floating2 3.5s ease-in-out infinite;
}
#start{
display: flex;
justify-content: center;
}
#button{
background-color: rgb(236, 203, 20,0.7);
font-family:cursive;
border-radius: 12px 4px;
font-size: 2vw;
width: 8vw;
}
#button:hover{
background-color: gold;
opacity: 200%;
}
#list:hover{
color: rgb(218, 238, 91);
opacity: 200%;
}
/* media query at max width 600px for making it responsive for mobile */
@media(max-width:600px){
#hiname{
font-size: 12vw;
}
#insthead{
font-size: 5vw;
}
#list{
font-size: 2.2vw;
}
#button{
font-size: 3vw;
width: 11.5vw;
}
#main{
align-items: flex-start;
}
#secondmain{
padding-top: 29vw;
}
}