Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions m1/examen-m1/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<title>Document</title>
</head>
<body>
<header>
<h1>Curs Mean-stack 2019</h1>
<nav>
<ul class="Nav">
<li><a class="Nav" href="#">Inici</a></li>
<li><a class="Nav" href="#">Calendari</a></li>
<li><a class="Nav" href="#">Activitats</a></li>
<li><a class="Nav" href="#">Persones</a></li>
<li><a class="Nav" href="#">Projectes</a></li>
</ul>
</nav>
</header>

<main>
<div class='alumnes'><a href="#">alumnes</a></div>
<div class='recursos'><a href="#">resursos</a></div>
</main>

<footer>
<p>Copyright © 2019 mean-stack - html | css |javascript</p>
</footer>
</body>
</html>
Binary file added m1/examen-m1/paisaje-natural-item-5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
83 changes: 83 additions & 0 deletions m1/examen-m1/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions m1/examen-m1/style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

98 changes: 98 additions & 0 deletions m1/examen-m1/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
// Reset y propiedades globales
$negroDiseny: #333;
$blancoDiseny: whitesmoke;
$tipoLetra: Helvetica, Arial, sans-serif;

body {
margin: 0;
padding: 0;
font-family: $tipoLetra;
display: flex;
flex-direction: column;

header {

background-image: url('./paisaje-natural-item-5.jpg');
background-attachment: fixed;
background-repeat: no-repeat;
background-size: 100%, auto,cover;
filter: grayscale(100%);

h1 {
color: $blancoDiseny;
text-align: center;
margin:0;
}

Nav {
height: 35px;
font-size: 0.65rem;
}

ul.Nav {
list-style-type: none;
display: flex;
justify-content: center;
}

li > a.Nav {
text-decoration: none;
margin: 0px 3px;
color: $blancoDiseny;
cursor: pointer;
font-weight: bold;
}
}

main {
height: 200px;
display: flex;
flex-direction: line;
justify-content: space-between;
align-items: flex-start;
div {
background-color:white;
border: 1px solid $blancoDiseny;
border-radius: 5%;
margin: 10px;
padding-top: 40px;
padding-bottom: 70px;
padding-right: 50px;
padding-left: 50px;
color: $blancoDiseny;
font-size: 1.5rem;
font-weight: bold;

a {
text-decoration: none;
color: $blancoDiseny;
cursor: pointer;
margin:0;
}
}

div:hover {
text-decoration: none;
background-color:$blancoDiseny;
color: white;
a {
filter: drop-shadow(16px 16px 20px #333);
color: white;
}
}
}

footer {
height: 100px;
background-color:$negroDiseny;
color: $blancoDiseny;
font-size: 0.50rem;
text-align: center;
display:flex;
flex-direction: line;
justify-content: center;
align-items: flex-end;
}
}