Initial commit

rss
subnixr 2017-05-20 01:48:17 +02:00
commit b936f012f1
3 changed files with 319 additions and 0 deletions

38
index.html 100644
View File

@ -0,0 +1,38 @@
<html>
<head>
<title>Unit</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="header">
<div class="wrapper">
<img class="logo" src="logo.svg" alt="logo">
<h1 class="title">Unit</h1>
<div class="info">info.unit@autistici.org Viale Molise 68, Milano</div>
</div>
</div>
<div class="content">
<!--<div class="links">
<a href="https://wiki.unit.macaomilano.org/Manifesto">Manifesto</a>
<a href="https://wiki.unit.macaomilano.org/">Wiki</a>
<a href="https://wiki.unit.macaomilano.org/FAQ">FAQ</a>
</div>-->
<div class="news">
<!--<iframe src="news.xml" frameborder="0" scrolling="no" onload="resizeIframe(thi)"></iframe>-->
<iframe src="news.xml" frameborder="0" scrolling="no" onload="resizeIframe(this)"></iframe>
</div>
</div>
<script>
function resizeIframe(obj) {
obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
}
</script>
</body>
</html>

215
logo.svg 100644

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.7 KiB

66
style.css 100644
View File

@ -0,0 +1,66 @@
html, body {
margin: 0;
padding: 0;
border: none;
}
.header {
width: 100%;
margin: 0 auto;
position: fixed;
}
.header .wrapper {
max-width: 800px;
margin: 0 auto;
}
.wrapper:after {
content: " "; /* Older browser do not support empty content */
visibility: hidden;
display: block;
height: 0;
clear: both;
}
.header .title {
margin: 0;
float: left;
display: block;
}
.header .logo {
width: 4rem;
height: 4rem;
float: left;
}
.header .info {
margin: 0;
padding: 0;
border: none;
float: right;
}
.content {
max-width: 800px;
margin: 0 auto;
padding-top: 4rem;
overflow: scroll;
}
.links a {
display: block;
box-sizing: border-box;
}
.news {
overflow: hidden;
}
iframe {
width: 100%;
height: 100%;
overflow: hidden;
border: none;
}