160 lines
3.1 KiB
Plaintext

@margin_element: 2px;
@backgroundcolor: rgba(0,0,0,0.38);
@backgroundcolor_element: rgba(255,255,255,0.25);
@backgroundcolor_element_hover: rgba(255,255,255,0.50);
@linkcolor: #00B7FF;
@fontsize_controls: 3rem;
@height_navigation: 70%;
@height_controls: (100% - @height_navigation);
/* RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* RESET END */
html, body {
height: 100%;
}
body {
font: 12px "Lucida Grande", Helvetica, Arial, sans-serif;
background-color: @backgroundcolor;
background-image: url('/images/gl_formentera_kueste.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
overflow: hidden;
}
.clearboth {
clear: both;
}
a {
color: @linkcolor;
transition: background-color 1s;
}
.hidden {
display: none !important;
}
#navigation {
height: @height_navigation;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
align-items: stretch;
align-content: stretch;
margin: 1% 1% 1% 1%;
> a {
width: 33%;
margin: 1%;
flex-grow: 1;
align-self: stretch;
background-color: @backgroundcolor_element;
> .content {
height: 100%;
display: flex;
flex-flow: column nowrap;
justify-content: center;
align-items: center;
> .icon {
width: 80%;
}
}
&:hover {
background-color: @backgroundcolor_element_hover;
}
}
}
#controls {
height: @height_controls;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
align-items: stretch;
align-content: stretch;
margin: 1% 1% 1% 1%;
> a {
width: 33%;
height: auto;
margin: 0 1% 4% 1%;
flex-grow: 1;
align-self: stretch;
text-align: center;
background-color: @backgroundcolor_element;
font-size: @fontsize_controls;
text-decoration: none;
display: flex;
flex-flow: column nowrap;
justify-content: center;
align-items: center;
&.empty {
display: none;
}
&:hover {
background-color: @backgroundcolor_element_hover;
transition: all 2s;
}
}
}