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
96 changes: 96 additions & 0 deletions m1/examen-m1/css/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/css/style.css.map

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

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>
<a href="#">Inici</a>
<a href="#">Calendari</a>
<a href="#">Activitats</a>
<a href="#">Persones</a>
<a href="#">Projectes</a>
</nav>
</header>
<main>
<div>
<a href="#">alumnes</a>
</div>
<div>
<a href="#">recursos</a>
</div>
</main>
<footer>
<p>Copyright &copy; 2019 mean-stack - html | css |javascript</p>
</footer>
</body>
</html>
95 changes: 95 additions & 0 deletions m1/examen-m1/scss/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
* {
margin: 0;
padding: 0;
}

body {
font-family: sans-serif;
}

header {
/* Posicionamiento imagen background */
background-image: url(https://concepto.de/wp-content/uploads/2019/02/paisaje-natural-item-5.jpg);
background-repeat: no-repeat;
background-size: cover;
width: 100%;
height: 30vh;
filter: grayscale(100%);

/* Posicionamiento textos y nav */
display: flex;
flex-flow: column nowrap;
justify-content: space-around;
align-items: center;
}

h1 {
color: whitesmoke;
font-size: 72px;
}

nav a {
font-size: 20px;
color: whitesmoke;
text-shadow: 1px 1px #333;
text-decoration: none;
padding: 0 50px;
}

nav a:hover {
font-weight: bold;
color: whitesmoke;
text-shadow: 2px 2px #333;
}

main {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
padding: 20px;
}

main div {
width: 30%;
height: 40vh;
border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 30px;
border: 2px solid whitesmoke;
}

main div:hover {
filter: drop-shadow(16px 16px 20px #333);
opacity: 0.9;
}

main div:hover a {
color: whitesmoke;
filter: drop-shadow(16px 16px 20px #333);
opacity: 0.9;
}

main div a {
color: whitesmoke;
font-size: 72px;
font-weight: bold;
text-decoration: none;
}

footer {
position: relative;
bottom: 0px;
height: 20vh;
background-color: #333;
color: whitesmoke;
}

footer p {
text-align: center;
position: relative;
top: 85%;
}

/*# sourceMappingURL=style.css.map */
Empty file removed m1/examen-m1/style.scss
Empty file.