Commit 1e20b675 authored by sbiego's avatar sbiego

minor changes

parent 2595bb6d
......@@ -77,28 +77,25 @@ header .sticky-nav {
background-image: url('../../img/texture.png');
text-shadow: 0 1px 7px #000;
color: #bbb;
border-top: 4px solid #000;
}
.page-alternate {
background: #111;
background-image: url('../../img/texture_alternate.png');
box-shadow: 0 2px 30px 0px #000 inset;
border-top: 4px solid #000;
border-bottom: 4px solid #000;
text-shadow: 0 1px 14px #000;
color: #ccc;
}
.alert {
right: 50px;
left: 0;
position: fixed;
color: #fff;
z-index: 10000;
}
.alert-slide {
background-color: rgba(0, 0, 0, 0.9);
animation: slidein 1.5s ease;
right: 50px;
left: 0;
position: absolute;
color: #fff;
z-index: 10000;
}
#navigation-mobile, #navigation-mobile ul li {
......
......@@ -78,32 +78,8 @@
</div>
<!-- End of Splash Screen -->
<!-- Fullscreen button !-->
<!-- Fullscreen !-->
<script>
function requestFullScreen() {
var el = document.body;
// Supports most browsers and their versions.
var requestMethod = el.requestFullScreen || el.webkitRequestFullScreen
|| el.mozRequestFullScreen || el.msRequestFullScreen;
if (requestMethod) {
// Native full screen.
requestMethod.call(el);
} else if (typeof window.ActiveXObject !== "undefined") {
// Older IE.
var wscript = new ActiveXObject("WScript.Shell");
if (wscript !== null) {
wscript.SendKeys("{F11}");
}
}
}
function toggleFullscreen(elem) {
elem = elem || document.documentElement;
if (!document.fullscreenElement && !document.mozFullScreenElement &&
......@@ -139,7 +115,7 @@
<div id="fullscreen-alert" class="alert alert-slide fade in">
<a class="close" data-dismiss="alert" href="#">×</a>
Per una migliore visione del sito <a href="#" onclick="toggleFullscreen()"><b>passa a schermo intero</b></a>, e usare il pulsante a destra per cambiare modalità o chiudi questa notifica.
Per una migliore visione del sito <a href="#" onclick="maxwin()"><b>passa a schermo intero</b></a>, e usare il pulsante a destra per cambiare modalità o chiudi questa notifica.
</div>
<!-- end fullscreen button !-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment