-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.css
More file actions
150 lines (128 loc) · 3.59 KB
/
Copy pathtailwind.css
File metadata and controls
150 lines (128 loc) · 3.59 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
@tailwind base;
@tailwind components;
@tailwind utilities;
@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Roboto&display=swap");
@layer base {
/* Allow changing font family via CMS */
html {
font-family: var(--font-family);
scroll-behavior: smooth;
}
/** Remove default styles from input[type=number] */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type="number"] {
-moz-appearance: textfield;
appearance: textfield;
}
}
@layer components {
/** Prevent scroll when modal is open */
.no-scroll {
overflow: hidden;
height: 100vh;
}
}
@layer utilities {
/** Remove scrollbar from overflow-auto */
.scrollbar-none {
scrollbar-width: none;
-ms-overflow-style: none;
}
.scrollbar-none::-webkit-scrollbar {
display: none;
}
.v-underline::after {
content: "";
position: absolute;
bottom: -20px; /* Distância inicial entre a palavra e o sublinhado */
left: 0;
width: 100%; /* Faz o SVG ocupar toda a largura da palavra */
height: 20px; /* Altura máxima do sublinhado */
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="-3 -3 106 26" preserveAspectRatio="none"><path d="M0 0 L50 20 L100 0" fill="none" stroke="%2371A9CC" stroke-width="3"/></svg>')
no-repeat;
background-size: 100%
100%; /* Faz o sublinhado esticar para a largura total */
}
/*Animação do ícone de menu hamburguer no header*/
.icon-bar:nth-last-of-type(3) {
top: 0;
right: 0;
transition:
top 0.12s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.menu_opener:checked + .btn-menu-mobile .icon-bar:nth-last-of-type(3) {
top: 50%;
transform: rotate(-45deg);
transition:
top 0.12s 0.18s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
transform 0.15s 0.42s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.icon-bar:nth-last-of-type(2) {
transition:
top 0.3s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
opacity 0.1s linear;
}
.menu_opener:checked + .btn-menu-mobile .icon-bar:nth-last-of-type(2) {
top: 50%;
opacity: 0;
transition:
top 0.3s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
opacity 0.1s 0.27s linear;
}
.icon-bar:last-of-type {
bottom: 0;
right: 0;
transition-property: all;
transition-duration: 0.5s;
transition-timing-function: cubic-bezier(0.33333, 0.66667, 0.66667, 1);
transition-delay: 0.15s;
}
.menu_opener:checked + .btn-menu-mobile .icon-bar:last-of-type {
top: 50%;
transform: rotate(45deg);
transition:
top 0.12s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19);
transition-delay: 0.32s;
}
/*Brilho branco de fundo nos cards de tecnologias e pareceiros*/
.custom-glow {
filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
transition: filter 0.3s ease;
}
@keyframes slideLeft {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-324px);
}
}
@keyframes slideRight {
0% {
transform: translateX(-324px);
}
100% {
transform: translateX(0);
}
}
.slide-left {
animation: slideLeft 0.5s forwards;
}
.slide-right {
animation: slideRight 0.5s forwards;
}
.control-buttons {
opacity: 1;
transition: opacity 0.5s ease;
}
.control-buttons-hidden {
opacity: 0;
transition: opacity 0.5s ease;
}
}