-
Simon Barner authored
* Get rid of external icon font dependency * Remove fortiss logo * Alignment of dropdown menus * Add a few further TODOs Issue-Ref: 4006 Issue-Url: https://af3-developer.fortiss.org/issues/4006 Signed-off-by:
Simon Barner <barner@fortiss.org>
Simon Barner authored* Get rid of external icon font dependency * Remove fortiss logo * Alignment of dropdown menus * Add a few further TODOs Issue-Ref: 4006 Issue-Url: https://af3-developer.fortiss.org/issues/4006 Signed-off-by:
Simon Barner <barner@fortiss.org>
stylesheet.css 4.85 KiB
.btn {
background-color: #004696;
border: none;
color: white;
padding: 16px 17px;
font-size: 16px;
cursor: pointer;
inline-height: 16;
}
.header {
z-index: 10;
width: 100%;
height: 50px;
background: #004696;
position: sicky;
}
.box {
margin: 0 auto;
width: 800px;
height: 200px;
padding: auto;
width: 90%;
max-width: 1200px;
margin: 0 auto;
text-align: left;
}
body {
padding: 0;
margin: auto;
background-color: #fff;
color: #192846;
font-size: 100%;
font-weight: 500;
text-align: justify;
font-family: 'testfont';
}
p.ex1 {
padding-top: 15px;
padding: 0;
margin: auto;
background-color: #fff;
color : #3332222;
font-size : 100%;
font-weight: 500;
text-align : justify;
font-family: 'testfont';
padding-bottom: 15px;
}
IMG.displayed {
align:center;
width:800px;
height:auto;
max-height:100%;
padding: 0;
border: 10px solid transparent;
}
@font-face {
font-family: testfont;
src: url("fonts/MuseoSans_500.otf");
}
.navbar {
overflow: hidden;
background-color:#004696;
}
.navbar a {
float: left;
font-size: 16px;
font-color: white;
color: white;
text-align: left;
padding: 14px 16px;
text-decoration: none;
}
.subnav {
float: left;
overflow: hidden;
}
.subnav .subnavbtn {
font-size: 16px;
border: none;
outline: none;
color: none;
padding: 14px 16px;
background-color: lightblue;
font-family: inherit;
margin: 0;
}
.topnav-right {
float: right;
}
.navbar a:hover, .subnav:hover .subnavbtn {
background-color: none;
}
/*======================================================================================*/
/* Content formats
/*======================================================================================*/
/* Headlines */
h1 {
color: #192846;
font-size: 2.8rem;
font-weight: 500;
line-height: 120%;
margin: 0 0 40px 0;
text-align: left;}
h2 {
color: #192846;
font-size: 2.4rem;
font-weight: 500;
line-height: 2;
margin: 0 0 -20 0;
text-align: left;
padding: 0;
vertical-align: top;
}
h3 {
color: #192846;
font-size: 1.6rem;
font-weight: 500;
line-height: 120%;
margin: 0 0 15px 0; }
h4 {
color: #ffcd00;
font-size: 1.2rem;
font-weight: 500;
line-height: 120%;
margin: 0 0 10px 0; }
.topnav {
overflow: hidden;
background-color: white;
}
.active {
background-color: white;
color: white;
}
.topnav .icon {
display: none;
}
.dropdown {
float: left;
overflow: hidden;
}
.dropdown .dropbtn {
font-size: 17px;
border: none;
outline: none;
color: white;
padding: 14px 16px;
background-color: #004696;
font-family: inherit;
margin: 0;
}
.dropdown-content {
position: relative;
top: 50px; /* TODO (SB): This might why the drop-down menu disappears when you are not fast enough.*/
display: none;
position: absolute;
background-color: white;
min-width: 300px;
box-shadow: white;
z-index: 1;
}
.dropdown-content a {
float: none;
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
.topnav a:hover, .dropdown:hover {
background-color: #004696;
color: white;
}
.dropdown:hover .dropdown-content {
display: block;
}
.topnav.responsive a {
float: none;
display: block;
text-align: left;
}
.topnav.responsive .dropdown {float: none;}
.topnav.responsive .dropdown-content {position: relative;}
.topnav.responsive .dropdown .dropbtn {
display: block;
width: 100%;
text-align: left;
}
.topnav-right {
float: right;
}
/* Hyperlinks */
a{
transition: all ease 0.15s;
}
a:hover {
color: lightblue;
}
a:active {
text-decoration: underline;
}
/* keyboard/programming letters type */
/* This text is in Lucida Sans Typewriter */
.program {
font-family: Lucida Sans Typewriter,Lucida Console,monaco,Bitstream Vera Sans Mono,monospace;
}
/* up button */
#upBtn {
display: none;
position: fixed;
bottom: 20px;
right: 30px;
z-index: 99;
font-size: 18px;
border: none;
outline: none;
background-color: #004ea8;
color: white;
cursor: pointer;
padding: 15px;
border-radius: 4px;
}
#upBtn:hover {
color: #add8e6;
}
label.hamburger {
display: block;
background: #004696;
width: 18px; height: 18px;
position: relative;
margin-left: 0px;
margin-right: 0px;
border-radius: 0px;
}
.hamburgerLine {
position: absolute;
left:2px;
height: 2px; width: 18px;
background: #fff; border-radius: 2px;
display: block;
}
.hamburgerLine:nth-child(1) { top: 2px; }
.hamburgerLine:nth-child(2) { top: 8px; }
.hamburgerLine:nth-child(3) { top: 14px; }
.triangle {
position: absolute;
top: 22px;
width: 0;
height: 0;
margin-left: 6px;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-top: 7px solid white;
}