-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
107 lines (88 loc) · 1.74 KB
/
styles.css
File metadata and controls
107 lines (88 loc) · 1.74 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
html {
--text: #00fff7;
--background: #000000;
--primary: #002dd1;
--secondary: #00aaff;
--accent: #1ce154;
}
body {
background-color: var(--background);
color: var(--text)
}
h1 {
color: var(--secondary);
font-family: "Kenia";
text-shadow: 1px .5px 3px var(--accent);
font-size: 50px;
margin: 10px
}
.flex {
display: flex;
align-items: center;
flex-wrap: wrap;
min-width: 500px;
border: 5px solid #24f1b4;
padding-bottom: 10px;
}
.website {
color: var(--text);
padding: 0px;
border: 0px;
font-size: 20px;
}
img {
padding: 4px;
border: 4px solid var(--accent);
border-radius: 16px;
background: var(--secondary)
}
p {
font-family: "Audiowide";
font-style: italic;
font-weight: bolder;
}
a {
color: var(--text);
border: 4px solid indianred;
font-family: "Kenia";
font-size: 30px;
padding-left: 10px;
padding-right: 10px;
padding-top: 5px;
padding-bottom: 5px;
}
#purple {
text-decoration: underline rgb(143, 22, 241);
}
h2 {
color: #00ffd5;
text-shadow: 2px 1px 3px white;
}
.describe {
display: flex;
text-decoration: underline overline black;
/* flex-wrap: wrap; */
}
/* Define the animation */
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Apply the animation and link it to the scroll timeline */
img{
animation: fade-in linear forwards 1s;
animation-timeline: view();
/* Links animation to the element's visibility in the viewport */
animation-range: entry 0% cover 50%;
/* Starts at the entry point, ends when 50% covered */
}
nav {
position: sticky;
top: 12px;
z-index: 2;
background-color: black;
}