-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
147 lines (130 loc) · 2.99 KB
/
style.css
File metadata and controls
147 lines (130 loc) · 2.99 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
body{
background-color:#191825
}
/* display background color black on navbar scroll */
.navbarScroll.navbarDark {
background-color: black;
}
/* hero background image */
.bgimage {
height:100vh;
background-image: url("./imagens/dark-minimalist.jpg");
position:relative;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: 100vw 100vh;
}
/* text css above hero image*/
.hero_title {
font-size: 4.5rem;
}
.hero_desc {
font-size: 2rem;
}
.hero-text {
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #79018C;
}
h1 {
font-size: 12vmin;
color: #79018C;;
text-align: left;
font-family: Lato, sans-serif;
font-weight: 700;
}
#nome{
margin-top: 40%;
margin-left: 20%;
}
/* efeito typewriter */
@keyframes typing {
0.0000%, 31.3488% { content: ""; }
1.1395%, 30.2093% { content: "G"; }
2.2791%, 29.0698% { content: "GR"; }
3.4186%, 28.9302% { content: "GR4"; }
4.5581%, 27.7907% { content: "GR4V"; }
5.6977%, 26.6512% { content: "GR4V1"; }
6.8372%, 20.5116% { content: "GR4V17"; }
7.9767%, 19.3721% { content: "GR4V17Y"; }
32.7674%{ content: ""; }
33.9070%{ content: "G"; }
34.0465%{ content: "Gr"; }
35.1860%{ content: "Gra"; }
36.3256%{ content: "Grav"; }
37.4651%{ content: "Gravi"; }
38.6047%{ content: "Gravit"; }
39.7443%{ content: "Gravity"; }
}
@keyframes blink {
0%, 100% { opacity: 1; }
50%{ opacity: 0; }
}
.typewriter {
--caret: currentcolor;
}
.typewriter::before {
content: "Gravity";
animation: typing 13.5s;
}
.typewriter::after {
content: "";
border-right: 1px solid var(--caret);
animation: blink 0.5s linear infinite;
}
.typewriter.thick::after {
border-right: 1ch solid var(--caret);
}
.typewriter.nocaret::after {
border-right: 0;
}
@media (prefers-reduced-motion) {
.typewriter::after {
animation: none;
}
@keyframes sequencePopup {
0%, 100% { content: "GR4V17Y"; }
100% { content: "Gravity"; }
}
.typewriter::before {
content: "Gr";
animation: sequencePopup 12s linear infinite;
animation-iteration-count: 1;
}
}
/**/
.img-proto{
margin-top: 16.5rem;
animation: mover2 2s linear;
animation-iteration-count: 1;
animation-fill-mode: both;
animation-timing-function: linear;
}
/* imagen do sobre */
.imagenSobrePagina {
width: 100%;
animation: mover 0.8s linear;
animation-play-state: paused;
animation-delay: calc(var(--scroll) * -1s);
animation-iteration-count: 1;
animation-fill-mode: both;
}
@keyframes mover {
0% { opacity: 0; }
100% { opacity: 1; }
to {
transform:translate(-200px);
}
}
@keyframes mover2 {
0% { opacity: 0; }
to {
transform:translate(-10px);
}
50% { opacity: 60%; }
100%{ opcaity: 100%;}
}