-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
106 lines (99 loc) · 3.01 KB
/
main.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
@keyframes dropIn {
from {
transform: translateX(500px);
opacity: 0;
}
to {
transform:translateX(0);
opacity: 1;
}
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&family=Righteous&family=Yeseva+One&display=swap');
:root {
--main-color:#4B3052;
--highlight-color:#DA9082;
}
body {
background: var(--main-color);
background: linear-gradient(135deg, var(--main-color) 0%, Black 100%);
overflow-x: hidden;
}
div.topdiv {
margin: 35;
padding: 30;
font-family: 'Montserrat', sans-serif;
color: Azure;
}
div.blockdiv:hover {
margin: 10;
/*CSS Azure is a slightly bluish off-white. WAY WAY brighter than actual azure but it'll work for here.*/
border: 1px solid azure;
padding: 54;
/*I don't know why but if I set the top padding to 0 it defaults to like... way more than 0*/
padding-top: 1;
padding-bottom: 38;
background: var(--highlight-color);
transition: 0.5s;
/*background: linear-gradient(135deg, Coral 0%, Crimson 100%);*/
font-family: 'Montserrat', sans-serif;
color: var(--main-color);
}
div.blockdiv {
margin: 30;
/*CSS Azure is a slightly bluish off-white. WAY WAY brighter than actual azure but it'll work for here.*/
border: 5px solid azure;
padding: 30;
/*I don't know why but if I set the top padding to 0 it defaults to like... way more than 0*/
padding-top: 1;
background: var(--main-color);
transition: 0.5s;
/*background: linear-gradient(135deg, DarkViolet 0%, var(--main-color) 100%);*/
font-family: 'Montserrat', sans-serif;
color: Black
}
img {
animation: dropIn 0.5s ease forwards;
animation-delay: calc(var(--order)*100ms);
border: 5px solid azure;
opacity: 0;
width: 50%;
display: block;
margin-left: auto;
margin-right: auto;
}
h1 {
animation: dropIn 0.5s ease forwards;
animation-delay: calc(var(--order)*100ms);
opacity: 0;
font-size: 60;
text-align: center;
font-family: 'Righteous', cursive;
}
h2 {
animation: dropIn 0.5s ease forwards;
animation-delay: calc(var(--order)*100ms);
opacity: 0;
text-align: center;
font-family: 'Yeseva One', cursive;
}
h3 {
animation: dropIn 0.5s ease forwards;
animation-delay: calc(var(--order)*100ms);
opacity: 0;
font-family: 'Yeseva One', cursive;
}
p {
animation: dropIn 0.5s ease forwards;
animation-delay: calc(var(--order)*100ms);
opacity: 0;
outline : none;
}
a {
text-decoration : none;
}
.droptext {
color: #131313;
background: #e7e5e4;
letter-spacing: .15em;
text-shadow: 1px -1px 0 #767676, -1px 2px 1px #737272, -2px 4px 1px #767474, -3px 6px 1px #787777, -4px 8px 1px #7b7a7a, -5px 10px 1px #7f7d7d, -6px 12px 1px #828181, -7px 14px 1px #868585, -8px 16px 1px #8b8a89, -9px 18px 1px #8f8e8d, -10px 20px 1px #949392, -11px 22px 1px #999897, -12px 24px 1px #9e9c9c, -13px 26px 1px #a3a1a1, -14px 28px 1px #a8a6a6, -15px 30px 1px #adabab, -16px 32px 1px #b2b1b0, -17px 34px 1px #b7b6b5, -18px 36px 1px #bcbbba, -19px 38px 1px #c1bfbf, -20px 40px 1px #c6c4c4, -21px 42px 1px #cbc9c8, -22px 44px 1px #cfcdcd, -23px 46px 1px #d4d2d1, -24px 48px 1px #d8d6d5, -25px 50px 1px #dbdad9, -26px 52px 1px #dfddd
}