Skip to content

Commit

Permalink
Feat: Functional "DOCUMENTAÇÃO" and "WEB SITE" buttons
Browse files Browse the repository at this point in the history
The "DOCUMENTAÇÃO" and "WEB SITE" buttons became functional. The first downloads a .zip folder that contains the initial documentation for the main website and the second takes the user to the future main website which is still under construction.
  • Loading branch information
danielsantos404 committed Aug 29, 2023
1 parent ac1ad5a commit 9929974
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 13 deletions.
15 changes: 12 additions & 3 deletions construction.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,18 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<title>Pata Amiga</title>
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="images/favcon.png" type="image/x-icon">
</head>
<body>

<div class="adjustable-image" style="display: flex; align-items: center; justify-content: center; flex-wrap: wrap;">
<img src="images/gatoPedreiro.png" alt="">
</div>
<div style="display: flex; align-items: center; justify-content: center; flex-wrap: wrap;">
<a href="index.html" target="_self" >
<button id="webSite">← Voltar</button>
</a>
</div>
</body>
</html>
</html>
Binary file added documentation/documentation.zip
Binary file not shown.
Binary file added images/gatoPedreiro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@
</p>
</div>
<div class="button-container">
<input type="button" value="Documentação" id="documentation">
<input type="button" value="Web Site" id="webSite">
<a href="documentation/documentation.zip"_blank">
<button id="documentation">Documentação</button>
</a>
<a href="construction.html" target="_self">
<button id="webSite">Web Site</button>
</a>
</div>
<div>
<img style="width: auto;" class="floatText" src="images/dog1.png" alt="">
Expand Down
42 changes: 34 additions & 8 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ html, body {
max-width: 100%;
}

img {
width: 100%;
}

header {
background-color: #0CBFDE;
border-radius: 0px 0px 20px 20px;
Expand Down Expand Up @@ -97,7 +93,7 @@ section#presentation > div > #paLogo {
}
}

input {
button {
margin-top: 20px;
font-family: 'Bungee';
font-size: 10pt;
Expand All @@ -118,14 +114,24 @@ input {
flex-wrap: wrap;
}

input#documentation {
button#documentation {
background-color: #0CBFDE;
}

input#webSite {
#documentation:hover {
cursor: pointer;
background-color: #fedd598c;
}

button#webSite {
background-color: #FEDD59;
}

#webSite:hover {
cursor: pointer;
background-color: #0cbfde79;
}

section#about{
background-color: #FEDD59;
border-top: 1px solid black;
Expand Down Expand Up @@ -397,4 +403,24 @@ text-decoration: underline;

a:visited {
color: black;
}
}

.adjustable-image {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
overflow: hidden; /* Impede que a imagem vaze */
}

.adjustable-image img {
max-width: 100%; /* A imagem terá no máximo a largura do seu contêiner */
height: auto; /* Mantém a proporção da imagem */
}

/* Ajuste para telas pequenas */
@media (max-width: 767px) {
.adjustable-image img {
max-width: 90%; /* Ajuste o tamanho da imagem para telas pequenas */
}
}

0 comments on commit 9929974

Please sign in to comment.