-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalci.css
More file actions
150 lines (144 loc) · 3.26 KB
/
Copy pathcalci.css
File metadata and controls
150 lines (144 loc) · 3.26 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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
@import url('https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background: #333333;
scroll-behavior: smooth;
}
/* styling scary text */
.scary-text{
margin: 0 auto;
width: 50%;
text-align: center;
margin-bottom: 15px;
}
.scary-text span{
color: #1c1c1c;
font-size: 2rem;
font-family: 'Gloria Hallelujah', cursive;
}
@keyframes animate{
from{
color: #000000;
}
to{
color: #cb0000;
text-shadow: 0 0 4px #ffffff, 0 0 8px #ffffff,0 0 12px #ffffff;
}
}
.scary-text>span:nth-child(1){
animation: animate 1.5s forwards .5s;
}
.scary-text>span:nth-child(2){
animation: animate 1.5s forwards .6s;
}
.scary-text>span:nth-child(3){
animation: animate 1.5s forwards .7s;
}
.scary-text>span:nth-child(4){
animation: animate 1.5s forwards .8s;
}
.scary-text>span:nth-child(5){
animation: animate 1.5s forwards .9s;
}
.scary-text>span:nth-child(7){
animation: animate 1.5s forwards 1.2s;
}
.scary-text>span:nth-child(8){
animation: animate 1.5s forwards 1.3s;
}
.scary-text>span:nth-child(9){
animation: animate 1.5s forwards 1.4s;
}
.scary-text>span:nth-child(10){
animation: animate 1.5s forwards 1.5s;
}
.scary-text>span:nth-child(11){
animation: animate 1.5s forwards 1.6s;
}
.scary-text>span:nth-child(12){
animation: animate 1.5s forwards 1.7s;
}
.scary-text>span:nth-child(13){
animation: animate 1.5s infinite 1.8s;
}
.scary-text>span:nth-child(14){
animation: animate 1.5s forwards 1.9s;
}
.scary-text>span:nth-child(15){
animation: animate 1.5s forwards 2s;
}
.scary-text>span:nth-child(16){
animation: animate 1.5s forwards 2.1s;
}
/* heading style eneded */
/* main style */
input{
outline: none;
}
label{
cursor: pointer;
}
body{
margin : 0;
padding : 0;
font-family: 'Shadows Into Light', cursive;
}
body img{
height : 100%;
}
.container{
margin-bottom : 0;
height : 100%;
}
.cal{
background : url("scary-bg.jpg") no-repeat center center/cover ;
background-blend-mode : darken;
color : red;
text-align : center;
font-weight : bold;
padding : 50px;
height : 100%;
font-size : 1.2rem;
letter-spacing : 2px;
}
.cal input{
border-radius : 18px;
text-align : center;
background-color : black;
color : red;
font-family: 'Shadows Into Light', cursive;
font-weight : bold;
letter-spacing : 2px;
}
#exercise{
background-color : black;
color : red;
font-family: 'Shadows Into Light', cursive;
border-radius : 18px;
width : 100px;
font-size: 1.2rem;
}
.btn{
border : 3px solid red;
background-color : black;
color : red;
padding : 5px;
border-radius : 18px;
text-decoration : none;
margin-bottom : 100px;
margin : 10px;
}
/* making responsive */
@media screen and (max-width:500px){
.scary-text{
width: 100%;
}
.scary-text span{
font-size:1.1rem;
letter-spacing: 0px;
}
}