Update 404.css
This commit is contained in:
parent
1b17789c56
commit
c15eb328df
|
@ -1,6 +1,6 @@
|
||||||
body {
|
body {
|
||||||
font-family: Arial, sans-serif;
|
font-family: Arial, sans-serif;
|
||||||
background-image: url('/images/Gato-Comeu-Pagina-HTML.png');
|
background-image: url('/images/404.png');
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
|
@ -11,33 +11,22 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
body::before {
|
body::before {
|
||||||
content: '';
|
display: none;
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
background: linear-gradient(
|
|
||||||
to bottom,
|
|
||||||
rgba(0, 0, 0, 0.7),
|
|
||||||
rgba(0, 0, 0, 0.5)
|
|
||||||
);
|
|
||||||
z-index: -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 40px 16px;
|
padding: 40px 8px;
|
||||||
max-width: 600px;
|
max-width: 98vw;
|
||||||
margin: 0 auto;
|
margin: 32px auto;
|
||||||
min-height: 100vh;
|
min-height: 60vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background: rgba(0, 0, 0, 0.45);
|
background: rgba(0, 0, 0, 0.65);
|
||||||
border-radius: 18px;
|
border-radius: 18px;
|
||||||
backdrop-filter: blur(4px);
|
backdrop-filter: blur(4px);
|
||||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
|
||||||
|
@ -45,53 +34,54 @@ main {
|
||||||
|
|
||||||
.img-container {
|
.img-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 500px;
|
max-width: 350px;
|
||||||
aspect-ratio: 16 / 9;
|
aspect-ratio: 16 / 10;
|
||||||
margin-bottom: 24px;
|
margin-bottom: 32px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
background: #222;
|
||||||
}
|
}
|
||||||
|
|
||||||
.img-container img {
|
.img-container img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: auto;
|
||||||
object-fit: cover;
|
object-fit: contain;
|
||||||
display: block;
|
display: block;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.4));
|
filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.4));
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 7rem; /* Bem grande para o 404 */
|
font-size: 4rem;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 12px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 2.5rem; /* Maior para dar destaque */
|
font-size: 2rem;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 16px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 1.1rem;
|
font-size: 1.3rem;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 18px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
|
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-size: 1.1rem;
|
font-size: 1.25rem;
|
||||||
margin-bottom: 24px;
|
margin-bottom: 32px;
|
||||||
line-height: 1.5;
|
line-height: 1.6;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
max-width: 480px;
|
max-width: 480px;
|
||||||
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
|
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
|
||||||
|
@ -101,18 +91,19 @@ p {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
padding: 12px 26px;
|
padding: 14px 30px;
|
||||||
background: linear-gradient(145deg, #ffffff, #e6e6e6);
|
background: linear-gradient(145deg, #ffffff, #e6e6e6);
|
||||||
color: #000;
|
color: #000;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
font-size: 1.1rem;
|
font-size: 1.2rem;
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
margin-bottom: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-voltar::before {
|
.btn-voltar::before {
|
||||||
|
@ -147,68 +138,51 @@ p {
|
||||||
|
|
||||||
@media (max-width: 600px) {
|
@media (max-width: 600px) {
|
||||||
main {
|
main {
|
||||||
padding: 16px 8px;
|
padding: 16px 2vw;
|
||||||
max-width: 95vw;
|
max-width: 100vw;
|
||||||
|
margin: 0;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
margin: 10px;
|
min-height: 100vh;
|
||||||
min-height: calc(100vh - 20px);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.img-container {
|
.img-container {
|
||||||
max-width: 95vw;
|
max-width: 95vw;
|
||||||
aspect-ratio: 16 / 9;
|
aspect-ratio: 16 / 10;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 4rem;
|
font-size: 2.5rem;
|
||||||
margin-bottom: 4px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.5rem;
|
font-size: 1.3rem;
|
||||||
margin-bottom: 8px;
|
|
||||||
}
|
}
|
||||||
|
strong {
|
||||||
p, strong {
|
font-size: 1.1rem;
|
||||||
font-size: 0.9rem;
|
}
|
||||||
margin-bottom: 16px;
|
p {
|
||||||
padding: 0 8px;
|
font-size: 1.05rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-voltar {
|
.btn-voltar {
|
||||||
padding: 8px 16px;
|
padding: 10px 18px;
|
||||||
font-size: 0.9rem;
|
font-size: 1rem;
|
||||||
margin-top: 8px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 360px) {
|
@media (max-width: 360px) {
|
||||||
main {
|
|
||||||
padding: 12px 6px;
|
|
||||||
margin: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
font-size: 3rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-size: 1.2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
p, strong {
|
|
||||||
font-size: 0.85rem;
|
|
||||||
padding: 0 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-voltar {
|
|
||||||
padding: 6px 12px;
|
|
||||||
font-size: 0.85rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.img-container {
|
.img-container {
|
||||||
margin-bottom: 12px;
|
max-width: 98vw;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-size: 2rem;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
strong, p {
|
||||||
|
font-size: 0.95rem;
|
||||||
|
}
|
||||||
|
.btn-voltar {
|
||||||
|
padding: 8px 12px;
|
||||||
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue