Sessão 5
This commit is contained in:
BIN
images/green-abstract.jpg
Normal file
BIN
images/green-abstract.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 95 KiB |
BIN
images/profile.webp
Normal file
BIN
images/profile.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
13
index.html
13
index.html
@@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
<nav>
|
<nav>
|
||||||
<a href="#identificacao">Identificação</a>
|
<a href="#identificacao">Identificação</a>
|
||||||
<a href="#habilitacoes">Habilitações</a>
|
<a href="#formacao">Formação</a>
|
||||||
<a href="#interesses">Interesses</a>
|
<a href="#interesses">Interesses</a>
|
||||||
<a href="#contactos">Contactos</a>
|
<a href="#contactos">Contactos</a>
|
||||||
</nav>
|
</nav>
|
||||||
@@ -79,6 +79,17 @@
|
|||||||
<li>Virtualização</li>
|
<li>Virtualização</li>
|
||||||
<li>Redes Informáticas</li>
|
<li>Redes Informáticas</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<h2>Controlos de Média</h2>
|
||||||
|
<h3>Áudio</h3>
|
||||||
|
<audio controls>
|
||||||
|
<source src="media/audio.aac" type="audio/aac" />
|
||||||
|
O seu navegador não suporta áudio.
|
||||||
|
</audio>
|
||||||
|
<h3>Vídeo</h3>
|
||||||
|
<video controls width="600" poster="media/video.webp">
|
||||||
|
<source src="media/video.mp4" type="video/mp4" />
|
||||||
|
O seu navegador não suporta vídeo.
|
||||||
|
</video>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<address id="contactos">
|
<address id="contactos">
|
||||||
|
|||||||
Binary file not shown.
BIN
media/audio.aac
Normal file
BIN
media/audio.aac
Normal file
Binary file not shown.
BIN
media/video.mp4
BIN
media/video.mp4
Binary file not shown.
BIN
media/video.webp
Normal file
BIN
media/video.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
98
otherstuff.html
Normal file
98
otherstuff.html
Normal file
@@ -0,0 +1,98 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>Centered Header</title>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
position: relative;
|
||||||
|
background: #333;
|
||||||
|
color: white;
|
||||||
|
padding: 20px 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Icon on the left */
|
||||||
|
.logo {
|
||||||
|
position: absolute;
|
||||||
|
left: 20px;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Centered text */
|
||||||
|
.header-text h1 {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-text p {
|
||||||
|
margin: 5px 0 0;
|
||||||
|
font-size: 14px;
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav {
|
||||||
|
background: #555;
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav a {
|
||||||
|
display: inline-block;
|
||||||
|
color: white;
|
||||||
|
padding: 14px 20px;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav a:hover {
|
||||||
|
background: #777;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
.logo {
|
||||||
|
left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav a {
|
||||||
|
display: block;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<div class="logo">📇</div>
|
||||||
|
<div class="header-text">
|
||||||
|
<h1>My Website</h1>
|
||||||
|
<p>Welcome to my page</p>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<nav>
|
||||||
|
<a href="#">Home</a>
|
||||||
|
<a href="#">About</a>
|
||||||
|
<a href="#">Services</a>
|
||||||
|
<a href="#">Contact</a>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h2>Main Content</h2>
|
||||||
|
<p>The icon stays on the left, while the text is perfectly centered.</p>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
125
profile-styles.css
Normal file
125
profile-styles.css
Normal file
@@ -0,0 +1,125 @@
|
|||||||
|
/*.color_scheme {
|
||||||
|
color: #12224e;
|
||||||
|
color: #596597;
|
||||||
|
color: #4c4f57;
|
||||||
|
color: #f3f3f4;
|
||||||
|
color: #587f76;
|
||||||
|
color: #e5eeea;
|
||||||
|
}*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
color: #12224e;
|
||||||
|
font-size: 16pt;
|
||||||
|
margin: 0;
|
||||||
|
background-color: #f3f3f4;
|
||||||
|
scroll-behavior: smooth;
|
||||||
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
background-color: #587f76;
|
||||||
|
color: #f3f3f4;
|
||||||
|
padding: 3rem;
|
||||||
|
background: no-repeat url(images/green-abstract.jpg);
|
||||||
|
background-size: cover;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
header div.logo {
|
||||||
|
font-size: 8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
header div.content {
|
||||||
|
font-size: 2rem;
|
||||||
|
flex-grow: 2;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav {
|
||||||
|
background-color: #4c4f57;
|
||||||
|
text-align: center;
|
||||||
|
height: 5.2rem;
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 100;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav a {
|
||||||
|
font-size: 140%;
|
||||||
|
color: white;
|
||||||
|
padding: 1.8rem 3rem 2rem;
|
||||||
|
transition: all 1s ease;
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: bold;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav a:hover {
|
||||||
|
background-color: #f3f3f4;
|
||||||
|
color: #555;
|
||||||
|
transition: all 0.5s ease;
|
||||||
|
-web-transition: all 0.5s ease;
|
||||||
|
-o-transition: all 0.5s ease;
|
||||||
|
padding-bottom: 0.8rem;
|
||||||
|
border-bottom: solid 1.2rem #4c4f57;
|
||||||
|
}
|
||||||
|
|
||||||
|
address,
|
||||||
|
section {
|
||||||
|
padding: 0.6em 2rem;
|
||||||
|
margin: 5rem auto;
|
||||||
|
background-color: white;
|
||||||
|
border-radius: 1rem;
|
||||||
|
max-width: 1080px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.schedule {
|
||||||
|
border-spacing: 1;
|
||||||
|
border-collapse: collapse;
|
||||||
|
background: white;
|
||||||
|
border-radius: 8px;
|
||||||
|
overflow: hidden;
|
||||||
|
margin: 1em auto;
|
||||||
|
font-size: 14pt;
|
||||||
|
td,
|
||||||
|
th {
|
||||||
|
padding-left: 8px;
|
||||||
|
}
|
||||||
|
thead tr {
|
||||||
|
height: 2em;
|
||||||
|
background: #587f76;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
tbody tr {
|
||||||
|
height: 1.5em;
|
||||||
|
border-bottom: 1px solid #4c4f57;
|
||||||
|
}
|
||||||
|
tbody tr:last-child {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
tbody tr:nth-child(even) {
|
||||||
|
background-color: #f3f3f4;
|
||||||
|
}
|
||||||
|
tbody tr:hover {
|
||||||
|
background-color: #e5eeea;
|
||||||
|
}
|
||||||
|
td,
|
||||||
|
th {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
td.l {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
td.r {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
text-align: center;
|
||||||
|
padding: 10px;
|
||||||
|
background-color: #587f76;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user