-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle2.css
More file actions
140 lines (120 loc) · 3.11 KB
/
style2.css
File metadata and controls
140 lines (120 loc) · 3.11 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
/* Definições globais */
:root {
font-size: 20px;
font-family: Arial, sans-serif;
--cor-primaria: #230430;
--cor-secundaria: rgba(169, 80, 207, 0.9);
--cor-hover: rgba(214, 25, 25, 0.5);
--cor-fundo: rgba(56, 8, 78, 0.2);
--sombra-caixa: 5px 5px 15px rgba(0, 0, 0, 0.3);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Fundo do vídeo para um efeito dinâmico */
.caixa-video {
position: fixed;
z-index: -1;
width: 100%;
height: 100%;
filter: brightness(0.5);
pointer-events: none;
}
/* Layout principal do blog */
.conteiner-caixas, .caixa_IA, .container-geral-python {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
gap: 20px;
width: auto;
max-width: auto;
margin: 40px auto;
}
.caixa-conteudo_realidade_virtual,
.titulo-do-blog,
.titulo-do-blog-phyton,
.trecho-curto-blog-python,
.caixa-python,
.titulo-do-blog-IA,
.trecho-curto-blog,
.segundo_item_IA,
.trecho-curto-blog-phyton
{
word-wrap: break-word;
background-color: rgba(169, 80, 207, 0.9);
padding: 20px;
border-radius: 10px;
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
width: 400px;
max-width: 100%;
text-align: center;
margin: 20px;
height: auto; /* Ajusta a altura conforme o conteúdo */
color: rgb(225, 235, 232);
background-color: rgba(56, 8, 78, 0.2);
display: flex;
flex-direction: column; /* Coloca os elementos na vertical */
align-items: center; /* Centraliza os itens */
justify-content: center; /* Centraliza o conteúdo */
}
.caixa-conteudo_realidade_virtual:hover {
background-color: #230430;
transform: scale(1.02);
box-shadow: 8px 8px 20px rgba(235, 23, 23, 0.5);
}
.caixa-python:hover {
background-color: #230331;
transform: scale(1.02);
box-shadow: 8px 8px 20px rgba(230, 23, 23, 0.5);
}
.titulo-do-blog-IA:hover {
box-shadow: 8px 8px 20px rgba(214, 25, 25, 0.5);
}
.titulo-blog {
font-size: 2rem;
color: white;
background-color: var(--cor-primaria);
padding: 20px;
border-radius: 10px;
text-align: center;
width: 80%;
max-width: 800px;
margin-bottom: 30px;
box-shadow: var(--sombra-caixa);
grid-column: 1 / -1;
}
.conteiner-postagens {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
width: 90%;
max-width: 1200px;
}
.post {
background-color: var(--cor-fundo);
padding: 20px;
border-radius: 10px;
box-shadow: var(--sombra-caixa);
text-align: center;
color: white;
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.post:hover {
transform: scale(1.02);
box-shadow: 8px 8px 20px var(--cor-hover);
}
.post img {
width: 100%;
max-width: 250px;
height: auto;
border-radius: 10px;
margin-top: 10px;
}
/* Responsividade para telas menores */
@media (max-width: 768px) {
.titulo-blog {
font-size: 1.5rem;
width: 90%;
}
}