Sessão 2 - Criar uma página pessoal

This commit is contained in:
2026-04-22 22:23:04 +01:00
parent 06b29be786
commit edcca05f36
17 changed files with 662 additions and 0 deletions

250
styles.css Normal file
View File

@@ -0,0 +1,250 @@
html {
margin: 0 auto;
max-width: 1600px;
}
body {
background-color: #f2f2f2;
color: black;
font-size: 14pt;
font-style: normal;
font-family: Carlito, Calibri, sans-serif;
}
.MsoNormal,
p {
color: black;
font-size: 14pt;
font-style: normal;
font-family: Carlito, Calibri, sans-serif;
margin: 0.5em 0 0 0;
}
ol,
ul {
font-size: 14pt;
font-style: normal;
font-family: Carlito, Calibri, sans-serif;
margin: 0.5em 0em 1em 1em;
}
ol,
ol.number {
list-style-type: decimal;
}
ol > ol,
ol.alpha {
list-style-type: lower-alpha;
}
ul {
list-style-type: none;
}
li {
margin-bottom: 0.25em;
}
ul li {
text-indent: -0.7em;
}
ul li:before {
content: "\2013\a0";
}
ul > ul {
list-style-type: square;
margin: 0;
}
ul > ul > ul {
list-style-type: circle;
margin: 0;
}
ul > ul > li::before {
content: none;
}
ul > ul > li {
text-indent: 0em;
}
hr {
border-top: 3px double #444;
margin: 1.5em 0;
}
h1 {
color: black;
margin: 0.2em 0em 0.8em;
}
h2,
h3 {
color: black;
margin: 0.8em 0em;
}
h2 span,
h3 span {
display: block;
font-size: 70%;
}
h4,
h5,
h6 {
text-align: justify;
color: black;
margin: 0.8em 0em 0.5em;
}
h1 {
font-family: "Trebuchet MS", Helvetica, sans-serif;
font-size: 250%;
text-transform: uppercase;
font-style: bold;
margin-bottom: 1em;
}
h2 {
font-size: 200%;
}
h3 {
font-size: 150%;
}
h4 {
font-size: 120%;
font-weight: bold;
}
h5 {
font-size: 110%;
font-weight: bold;
}
h6 {
font-size: 100%;
font-style: italic;
}
a:link {
color: #275aa6;
text-decoration: none;
}
a:visited {
color: #c17a00;
}
a:hover {
color: #7db500;
text-decoration: underline;
}
a:active {
color: #c61f84;
text-decoration: underline;
}
.doneact {
color: dimgray;
-webkit-text-decoration: line-through 2px; /* Safari */
text-decoration: line-through 2px;
}
.admonition {
display: flex;
align-items: flex-start;
border-left: 5px solid;
border-radius: 6px;
padding: 0.8em;
margin: 0.5em auto;
background-color: #f9f9f9;
font-family: Carlito, Calibri, sans-serif;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
transition: background-color 0.3s ease;
width: 85%;
}
.admonition span {
margin-right: 0.2em;
}
.admonition::before {
display: inline-block;
font-size: 2em;
flex-shrink: 0;
width: 1.8em; /* Adjust the icon size */
height: 1.8em;
margin: auto 0em; /* Center icon vertically */
line-height: 2em;
}
.admonition.note {
border-color: #2b8a3e;
background-color: #ebfbee;
}
.admonition.note::before,
.admonition.note span {
content: "\270E"; /* Unicode for pencil icon */
color: #2b8a3e;
font-weight: bold;
}
.admonition.observation {
border-color: #1976d2;
background-color: #e3f2fd;
}
.admonition.observation::before,
.admonition.observation span {
content: "\1F441"; /* Unicode for eye icon */
color: #1976d2;
font-weight: bold;
}
.admonition.alert {
border-color: #d32f2f;
background-color: #ffebee;
}
.admonition.alert::before,
.admonition.alert span {
content: "\26A0"; /* Unicode for warning triangle icon */
color: #d32f2f;
font-weight: bold;
}
.admonition:hover {
opacity: 0.9;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
table.schedule {
border-spacing: 1;
border-collapse: collapse;
background: white;
border-radius: 8px;
overflow: hidden;
margin: 1em;
td,
th {
padding-left: 8px;
}
thead tr {
height: 2.5em;
background: lightskyblue;
}
tbody tr {
height: 2em;
border-bottom: 1px solid lightsteelblue;
&:last-child {
border: 0;
}
}
td,
th {
text-align: center;
&.l {
text-align: left;
}
&.c {
text-align: center;
}
&.r {
text-align: right;
}
}
}
.movie-list {
list-style-type: none;
padding: 1em;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
li {
display: flex;
align-items: center;
margin-bottom: 12px;
&:before {
content: none;
}
}
img {
width: 80px;
height: auto;
margin: 0 1em;
border-radius: 4px;
}
}