219 lines
4.6 KiB
HTML
219 lines
4.6 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<!-- vim: set ts=2 sw=2 et tw=120: -->
|
|
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>maggicl - Atelier INF</title>
|
|
<meta name="author" content="Claudio Maggioni (maggicl@usi.ch)">
|
|
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
|
|
rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css?family=Fira+Sans&display=swap"
|
|
rel="stylesheet">
|
|
<style>
|
|
body {
|
|
font-family: 'Fira Sans', sans-serif;
|
|
background: #ffe;
|
|
width: 100%;
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
header, footer {
|
|
padding: 1rem 0;
|
|
width: 100%;
|
|
text-align: center;
|
|
background: rgba(0,0,0,0.1);
|
|
}
|
|
|
|
@media screen and (min-width: 769px) {
|
|
main {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
nav, aside {
|
|
flex: 0 1 10rem;
|
|
}
|
|
|
|
article {
|
|
flex: 1 2;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
article {
|
|
flex-grow: 1;
|
|
}
|
|
}
|
|
|
|
main {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
nav, aside {
|
|
background: rgba(0,0,0,0.05);
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
margin: 0;
|
|
padding: .5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
figure {
|
|
background: rgba(0,0,0,0.05);
|
|
}
|
|
|
|
figcaption {
|
|
text-align: center;
|
|
padding: .5rem;
|
|
}
|
|
|
|
audio {
|
|
width: 100%;
|
|
}
|
|
|
|
nav ul, aside ul {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
nav ul li, aside ul li {
|
|
padding: .5rem;
|
|
text-align: center;
|
|
background: rgba(0,0,0,.1);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
nav ul li:nth-child(even), aside ul li:nth-child(even) {
|
|
background: rgba(0,0,0,.05);
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
}
|
|
|
|
a:link {
|
|
color: #36c;
|
|
transition: color 200ms;
|
|
}
|
|
|
|
a:visited {
|
|
color: #50c;
|
|
transition: color 200ms;
|
|
}
|
|
|
|
/* FIXME: transition when loading page? */
|
|
|
|
a:active {
|
|
color: #603;
|
|
transition: color 200ms;
|
|
}
|
|
|
|
footer {
|
|
display: flex;
|
|
align-itemss: center;
|
|
flex-direction: row;
|
|
}
|
|
|
|
footer a {
|
|
padding: 0 .5rem;
|
|
display: block;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
footer section {
|
|
padding: 0 .5rem;
|
|
font-size: 0.85rem;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
footer section p {
|
|
margin: .25rem;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1><code>maggicl</code> - Atelier INF</h1>
|
|
</header>
|
|
<main>
|
|
<nav>
|
|
<ul>
|
|
<li><a href="index.html">Home</a></li>
|
|
<li><a href="blog.html">Blog</a></li>
|
|
<li><a href="3d_print_service.html">3D prints</a></li>
|
|
</ul>
|
|
</nav>
|
|
<article>
|
|
<h1>Website</h1>
|
|
text<br>
|
|
text<br>
|
|
text<br>
|
|
text<br>
|
|
text<br>
|
|
text<br>
|
|
text<br>
|
|
text<br>
|
|
text<br>
|
|
text<br>
|
|
text<br>
|
|
<h2>Media</h2>
|
|
<h3>Suggested MP3</h3>
|
|
<figure>
|
|
<figcaption>Depeche Mode - Just Can't Get Enough<br>(MIDI version, from
|
|
<a href="http://www.themostamazingwebsiteontheinternet.com/"><em>
|
|
The Most Amazing Website On The Internet</em></a>)</figcaption>
|
|
<audio controls loop>
|
|
<source src="media/music.mp3" type="audio/mp3"/>
|
|
</audio>
|
|
</figure>
|
|
<h3>Suggested Video</h3>
|
|
<iframe width="560" height="315"
|
|
src="https://www.youtube.com/embed/SXKbm3oLW6I?start=44"
|
|
frameborder="0"
|
|
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
|
|
allowfullscreen></iframe>
|
|
</article>
|
|
<aside>
|
|
<ul>
|
|
<li><a href="https://reddit.com/u/Praticamentetilde">
|
|
<i class="fa fa-reddit" aria-hidden="true"></i> Praticamentetilde
|
|
</a></li>
|
|
</ul>
|
|
</aside>
|
|
</main>
|
|
<footer xmlns:dct="http://purl.org/dc/terms/"
|
|
xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#">
|
|
<a rel="license"
|
|
href="http://creativecommons.org/publicdomain/zero/1.0/">
|
|
<img src="http://i.creativecommons.org/p/zero/1.0/88x31.png" alt="CC0" />
|
|
</a>
|
|
<section>
|
|
<p>To the extent possible under law,
|
|
<span resource="[_:publisher]" rel="dct:publisher">
|
|
<span property="dct:title">Claudio Maggioni</span></span>
|
|
has waived all copyright and related or neighboring rights to
|
|
<span property="dct:title">SA3 AS1 Website</span>.
|
|
This work is published from:
|
|
<span property="vcard:Country" datatype="dct:ISO3166"
|
|
content="CH" about="[_:publisher]">
|
|
Switzerland</span>.
|
|
</p>
|
|
<p>Page last updated on ####-##-##</p>
|
|
</section>
|
|
</footer>
|
|
</body>
|
|
</html>
|