You've already forked Curso-lenguaje-python
Add exercises 26
Signed-off-by: Manuel Vergara <manuel@vergaracarmona.es>
This commit is contained in:
@@ -0,0 +1,206 @@
|
||||
/* === GENERAL === */
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* === css variables === */
|
||||
:root {
|
||||
--header-bg-color: #4a7799;
|
||||
--textarea-bg-color: rgb(250, 246, 246);
|
||||
--body-bg-color: rgb(210, 214, 210);
|
||||
--nav-link-color: #bbb;
|
||||
}
|
||||
|
||||
/* === body style === */
|
||||
body {
|
||||
background: var(--body-bg-color);
|
||||
margin: auto;
|
||||
line-height: 1.75;
|
||||
font-weight: 900;
|
||||
word-spacing: 1.5px;
|
||||
font-family: 'Lato', sans-serif;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
/* === header style === */
|
||||
header {
|
||||
background: var(--header-bg-color);
|
||||
}
|
||||
|
||||
/* === title and subtitle style === */
|
||||
h1,
|
||||
h2 {
|
||||
margin: 20px;
|
||||
font-weight: 300;
|
||||
font-family: Nunito;
|
||||
}
|
||||
|
||||
/* === header menu style === */
|
||||
|
||||
.menu-container {
|
||||
width: 90%;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
color: rgb(221, 215, 215);
|
||||
padding: 25px;
|
||||
}
|
||||
|
||||
.nav-lists {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.nav-list {
|
||||
list-style: none;
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
text-decoration: none;
|
||||
font-size: 22px;
|
||||
padding: 0 5px;
|
||||
color: var(--nav-link-color);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.brand-name {
|
||||
font-size: 28px;
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
/* === paragraph text style === */
|
||||
p {
|
||||
font-size: 22px;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
/* === main style === */
|
||||
main {
|
||||
width: 90%;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
/* === container div inside main style === */
|
||||
|
||||
.container {
|
||||
background: rgb(210, 214, 210);
|
||||
padding: 20px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.tech-lists {
|
||||
margin: 10px auto;
|
||||
text-align: left;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.tech {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
/* === button style === */
|
||||
.btn {
|
||||
width: 150px;
|
||||
height: 50px;
|
||||
background: var(--header-bg-color);
|
||||
color: var(--nav-link-color);
|
||||
font-size: 20px;
|
||||
margin: 5px;
|
||||
border: 1px solid var(--header-bg-color);
|
||||
font-family: Lato;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn:focus {
|
||||
outline: 2px solid #2a70a5;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* === textarea style === */
|
||||
textarea {
|
||||
width: 65%;
|
||||
margin: auto;
|
||||
padding: 15px;
|
||||
outline: 2px solid rgba(207, 203, 203, 0.25);
|
||||
border: none;
|
||||
font-size: 18px;
|
||||
font-family: Lato;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.result-header {
|
||||
font-weight: 300;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
textarea:focus {
|
||||
border: none;
|
||||
outline: 2px solid rgba(74, 119, 153, 0.45);
|
||||
background: var(--textarea-bg-color);
|
||||
font-size: 18px;
|
||||
caret-color: var(--header-bg-color);
|
||||
font-family: Lato;
|
||||
font-weight: 300;
|
||||
|
||||
}
|
||||
|
||||
table {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
border: 1px solid #ccc;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
tr {
|
||||
background-color: #f8f8f8;
|
||||
border: 1px solid #ddd;
|
||||
padding: .35em;
|
||||
|
||||
}
|
||||
|
||||
tbody tr,
|
||||
tbody td {
|
||||
padding: .625em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
thead tr th {
|
||||
background: var(--header-bg-color);
|
||||
font-size: .85em;
|
||||
letter-spacing: .1em;
|
||||
text-transform: uppercase;
|
||||
padding: 15px;
|
||||
color: var(--nav-link-color);
|
||||
}
|
||||
|
||||
/* === responsiveness === */
|
||||
@media (max-width:600px) {
|
||||
main {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.menu-container {
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.nav-lists {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
textarea {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user