Spaces:
Running
Running
Commit ·
a587f50
1
Parent(s): f2ea045
Update index.html
Browse files- index.html +36 -1
index.html
CHANGED
|
@@ -7,8 +7,10 @@
|
|
| 7 |
<style>
|
| 8 |
body {
|
| 9 |
font-family: 'Arial', sans-serif;
|
| 10 |
-
background-color: #
|
|
|
|
| 11 |
text-align: center;
|
|
|
|
| 12 |
}
|
| 13 |
|
| 14 |
header {
|
|
@@ -29,11 +31,35 @@
|
|
| 29 |
max-width: 400px;
|
| 30 |
margin-top: 10px;
|
| 31 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
</style>
|
| 33 |
</head>
|
| 34 |
<body>
|
| 35 |
<header>
|
| 36 |
<h1>Vídeos Incríveis</h1>
|
|
|
|
| 37 |
</header>
|
| 38 |
|
| 39 |
<!-- Splash Image -->
|
|
@@ -58,6 +84,15 @@
|
|
| 58 |
<!-- Rodapé -->
|
| 59 |
<footer>
|
| 60 |
<p>Espero que você goste, meu amor! ❤️🔥</p>
|
|
|
|
| 61 |
</footer>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
</body>
|
| 63 |
</html>
|
|
|
|
| 7 |
<style>
|
| 8 |
body {
|
| 9 |
font-family: 'Arial', sans-serif;
|
| 10 |
+
background-color: #121212; /* Cor de fundo do Dark Mode */
|
| 11 |
+
color: #ffffff; /* Cor do texto */
|
| 12 |
text-align: center;
|
| 13 |
+
transition: background-color 0.5s, color 0.5s; /* Transição suave para o Dark Mode */
|
| 14 |
}
|
| 15 |
|
| 16 |
header {
|
|
|
|
| 31 |
max-width: 400px;
|
| 32 |
margin-top: 10px;
|
| 33 |
}
|
| 34 |
+
|
| 35 |
+
/* Botão de alternância Dark Mode */
|
| 36 |
+
.dark-mode-toggle {
|
| 37 |
+
position: absolute;
|
| 38 |
+
top: 20px;
|
| 39 |
+
right: 20px;
|
| 40 |
+
background: none;
|
| 41 |
+
border: none;
|
| 42 |
+
color: #ffffff;
|
| 43 |
+
cursor: pointer;
|
| 44 |
+
font-size: 16px;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
/* Estilo para links */
|
| 48 |
+
a {
|
| 49 |
+
color: #bb86fc; /* Cor do link */
|
| 50 |
+
text-decoration: none;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
/* Estilo para links ao passar o mouse */
|
| 54 |
+
a:hover {
|
| 55 |
+
text-decoration: underline;
|
| 56 |
+
}
|
| 57 |
</style>
|
| 58 |
</head>
|
| 59 |
<body>
|
| 60 |
<header>
|
| 61 |
<h1>Vídeos Incríveis</h1>
|
| 62 |
+
<button class="dark-mode-toggle" onclick="toggleDarkMode()">Dark Mode</button>
|
| 63 |
</header>
|
| 64 |
|
| 65 |
<!-- Splash Image -->
|
|
|
|
| 84 |
<!-- Rodapé -->
|
| 85 |
<footer>
|
| 86 |
<p>Espero que você goste, meu amor! ❤️🔥</p>
|
| 87 |
+
<p>Confira mais em <a href="https://www.nossosite.com" target="_blank">nosso site</a>.</p>
|
| 88 |
</footer>
|
| 89 |
+
|
| 90 |
+
<script>
|
| 91 |
+
// Função para alternar o Dark Mode
|
| 92 |
+
function toggleDarkMode() {
|
| 93 |
+
const body = document.body;
|
| 94 |
+
body.classList.toggle('dark-mode');
|
| 95 |
+
}
|
| 96 |
+
</script>
|
| 97 |
</body>
|
| 98 |
</html>
|