forked from O-palco-e-delas/formatura
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebug-css.html
More file actions
84 lines (76 loc) · 2.56 KB
/
debug-css.html
File metadata and controls
84 lines (76 loc) · 2.56 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
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Debug CSS - Palestrantes</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="extras.css">
<style>
.debug-info {
position: fixed;
top: 10px;
right: 10px;
background: #ff0000;
color: white;
padding: 10px;
border-radius: 5px;
z-index: 9999;
font-family: monospace;
font-size: 12px;
}
.css-test {
background: #00ff00;
padding: 20px;
margin: 20px;
border: 2px solid #0000ff;
}
</style>
</head>
<body>
<div class="debug-info">CSS Debug Test</div>
<div class="css-test">
<h1>Teste de CSS</h1>
<p>Se você está vendo este texto em verde com borda azul, o CSS inline está funcionando.</p>
</div>
<!-- Header teste -->
<header class="header">
<nav class="nav">
<div class="nav-brand">
<img src="logo.png" alt="O Palco é Delas" class="nav-logo">
<div class="nav-text">
<h1>O Palco é Delas</h1>
<span>Evento de Formatura</span>
</div>
</div>
</nav>
</header>
<!-- Hero teste -->
<section class="hero-simple">
<div class="container">
<div class="hero-content">
<h1 class="hero-title">Teste Hero Simple</h1>
<p class="hero-subtitle">Verificando se o CSS está carregando</p>
</div>
</div>
</section>
<script>
console.log('CSS debug test loaded');
// Verificar se CSS foi carregado
const header = document.querySelector('.header');
const heroSimple = document.querySelector('.hero-simple');
console.log('Header element:', header);
console.log('Hero simple element:', heroSimple);
if (header) {
const headerStyles = window.getComputedStyle(header);
console.log('Header background:', headerStyles.background);
console.log('Header position:', headerStyles.position);
}
if (heroSimple) {
const heroStyles = window.getComputedStyle(heroSimple);
console.log('Hero background:', heroStyles.background);
console.log('Hero padding:', heroStyles.padding);
}
</script>
</body>
</html>