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
9 changes: 9 additions & 0 deletions all.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function toggleMenu(id) {
console.log(id);

var menu = document.getElementById(id);
document.getElementById('buttonMenu').classList.toggle('closed');
document.getElementById('voiceMenu').classList.toggle('invisible');
menu.classList.toggle('visible');

}
34 changes: 19 additions & 15 deletions components/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,36 @@
</head>
<body>

<footer class="footer">
<div class="footer footer-container">
<footer class="footer footer-main">
<div class="footer-container">
<div class="footer-logo"></div>
<div class="footer footer-container information">
<div class="footer-nav">
<div class="footer-nav">
<a href="#" class="footer-link"></a>
<a href="#" class="footer-link"></a>
<a href="#" class="footer-link"></a>
<a href="#" class="footer-link"></a>
<div class="footer-link">
<a href="#" class="footer-link">page</a>
<a href="#" class="footer-link">page</a>
<a href="#" class="footer-link">page</a>
<a href="#" class="footer-link">page</a>
</div>
<div class="footer-nav">
<a href="#" class="footer-link"></a>
<a href="#" class="footer-link"></a>
<a href="#" class="footer-link"></a>
<a href="#" class="footer-link"></a>
<div class="footer-link">
<a href="#" class="footer-link">page</a>
<a href="#" class="footer-link">page</a>
<a href="#" class="footer-link">page</a>
<a href="#" class="footer-link">page</a>
</div>
</div>
<div class="footer-info">
<p>info</p>
<p>social</p>
<div class="footer-info address">
Dipartimento di Informatica, Università degli studi di Verona, Strada le Grazie 15, Verona, 37134, Italia.</div>
<div class="footer-info social">Social</div>
<div class="footer-icons"></div>
</div>

</div>

</div>

<p class="centered"></p>
<!--<p class="centered"> Pellentesque habitant morbi tristique senectus et netus. Quisque ut dolor gravida, placerat libero vel, euismod.</p>-->

</footer>

Expand Down
21 changes: 12 additions & 9 deletions components/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,24 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="../style.css">
<script type="text/javascript" src="../all.js"></script>
</head>
<body style="min-height: 100vh;">
<!-- component -->
<header class="header header-main">
<div class="header header-container">
<div class="header-container">
<div class="header-logo"></div>
<div class="header-nav">
<a href="#" class="header-link"></a>
<a href="#" class="header-link"></a>
<a href="#" class="header-link"></a>
<a href="#" class="header-link"></a>
</div>
<div class="header-icon-menu"></div>
<div class="header-button"></div>
<div class="header header-container navigation">
<nav id="menuFullScreen" class="header-nav">
<a href="#" class="header-link">page</a>
<a href="#" class="header-link">page</a>
<a href="#" class="header-link">page</a>
<a href="#" class="header-link">page</a>
</nav>
<div id="voiceMenu"class="header-menu">MENU</div>
<div id="buttonMenu" class="header-button" onclick="toggleMenu('menuFullScreen')"></div>
</div>
</div>
</header>


Expand Down
Binary file added media/Icon 24px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/iconmonstr-x-mark-1-240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/icons8-close-window-50.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/logo-mastergamedev-cond-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 65 additions & 0 deletions media/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
136 changes: 135 additions & 1 deletion style.css

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

2 changes: 1 addition & 1 deletion style.css.map

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

Empty file added styles/layouts/flexbox.scss
Empty file.
3 changes: 2 additions & 1 deletion styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
@import "./layouts/container.scss";

//modules
@import "./modules/header.scss";
@import "./modules/header.scss";
@import "./modules/footer.scss";
75 changes: 75 additions & 0 deletions styles/modules/footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
.footer {
padding: $base-spacer*2;



&.footer-main {
background-color: $footer-color;
color: $secondary-color;
position: absolute;
bottom: 0;
right: 0;
left: 0;


}

&-container {
max-width: 1280px;
margin: 0 auto;
padding: $base-spacer;

display: flex;
flex-flow: row wrap;
justify-content: space-between;
align-items: flex-start;
}

&-logo {
display: flex;
padding: 2.4rem;
background-image: url('../../media/logo.svg');
background-size: contain;
background-position: center;
background-repeat: no-repeat;


width: 10%;
max-width: 160px;
min-width: 60px;
}

&-container.information {

display: flex;
flex: wrap;

& .footer-nav {

display: flex;
flex-direction: row;

align-items: center;

flex-grow: 2;
}


}

&-link {
display: flex;
flex-direction: column;
text-decoration: none;
color: $secondary-color;
padding: 0rem 0.4rem 0.4rem 0.4rem;

}

&-info {
display: flex;
flex-grow: 1;
flex-direction: column;

}
}
Loading