-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
96 lines (84 loc) · 2.61 KB
/
styles.css
File metadata and controls
96 lines (84 loc) · 2.61 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
/* styles.css */
:root {
--bg-color: #f9f9f9;
--text-color: #333;
--header-bg: #1f2937;
--section-title: #1f2937;
}
[data-theme="dark"] {
--bg-color: #1f2937;
--text-color: #f9f9f9;
--header-bg: #111827;
--section-title: #f9f9f9;
}
footer {
background-color: var(--header-bg);
color: white;
text-align: center; /* Centraliza o texto */
padding: 20px;
position: relative; /* Mantém no fluxo normal */
width: 100%;
margin-top: auto; /* Empurra para baixo */
font-weight: bold; /* Texto em negrito */
}
.foto-perfil {
width: 200px;
height: 200px; /* Garantir altura igual à largura para formar um círculo perfeito */
border-radius: 50%; /* Isso cria o efeito circular */
transition: transform 0.3s, box-shadow 0.3s;
object-fit: cover; /* Garante que a imagem preencha o espaço sem distorcer */
border: 3px solid var(--header-bg); /* Borda opcional */
margin: 20px auto; /* Centraliza a imagem */
display: block; /* Necessário para margin auto funcionar */
}
.foto-perfil:hover {
transform: scale(1.05); /* Aumenta levemente ao passar o mouse */
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Sombra sutil */
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
min-height: 100vh; /* Garante que o body ocupe toda a altura da tela */
background-color: var(--bg-color);
color: var(--text-color);
line-height: 1.6;
transition: background-color 0.3s, color 0.3s;
}
header {
background-color: var(--header-bg);
color: white;
padding: 20px;
text-align: center;
position: relative;
}
/* ... (mantenha o restante do seu CSS existente) ... */
/* Ajustes para o alinhamento do conteúdo */
main {
padding: 40px 20px;
flex: 1; /* Faz o main ocupar todo o espaço disponível */
max-width: 900px;
margin: 0 auto; /* Centraliza o conteúdo */
}
section {
margin-bottom: 40px;
text-align: justify; /* Texto justificado */
padding: 0 20px; /* Espaçamento nas laterais */
}
/* Ajuste específico para as listas */
ul {
padding-left: 20px; /* Espaço para as bolinhas da lista */
}
/* Ajuste para os itens da lista */
ul li {
margin-bottom: 10px;
text-align: left; /* Alinha o texto à esquerda (dentro do justificado) */
}
/* Ajuste para os containers internos (especialmente em sobre.html) */
.content-container {
text-align: justify;
margin-left: 1rem;
padding: 0 15px;
}