You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

188 lines
5.8 KiB
CSS

/* Fonts */
@font-face {
font-family: 'graublau_web';
src: url('https://pfadfinder-goettingen.de/fonts/graublauweb-regular-webfont.woff2') format('woff2'),
url('https://pfadfinder-goettingen.de/fonts/graublauweb-regular-webfont.woff') format('woff'),
url('../fonts/graublauweb-regular-webfont.woff2') format('woff2'),
url('../fonts/graublauweb-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'cpd_bundesschrift';
src: url('https://pfadfinder-goettingen.de/fonts/cpdbundesschrift-webfont.woff2') format('woff2'),
url('https://pfadfinder-goettingen.de/fonts/cpdbundesschrift-webfont.woff') format('woff'),
url('../fonts/cpdbundesschrift-webfont.woff2') format('woff2'),
url('../fonts/cpdbundesschrift-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
/* Colors */
:root {
--blue1: #00519e;
--blue2: #396cae;
--blue3: #748dc2;
--blue4: #a5b2d7;
--blue5: #d3d7eb;
--grey1: #a39e8d;
--grey2: #b6b1a3;
--grey3: #c8c4b9;
--grey4: #dbd8cf;
--grey5: #edebe7;
--green1: #0c9930;
--green2: #5cac57;
--green3: #8fc080;
--green4: #b8d6ac;
--green5: #d7e3cf;
--yellow1: #fbba00;
--yellow2: #fcc841;
--yellow3: #fed579;
--yellow4: #ffe3aa;
--yellow5: #fff2d6;
}
/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
margin: 0;
list-style: none;
}
.sf-menu * {
padding: 0;
}
.sf-menu li {
min-width:150px;
position: relative;
}
.sf-menu ul {
position: absolute;
display: none;
top: 100%;
left: 0;
z-index: 99;
}
.sf-menu > li {
float: left;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
display: block;
}
.sf-menu a {
display: block;
position: relative;
}
.sf-menu ul ul {
top: 0;
left: 100%;
}
/*html body ul.sf-menu ul,html body ul.sf-menu ul li{width:200px;}
html body ul.sf-menu ul ul{margin:0 0 0 200px;}
ul.sf-menu li{display:block;float:left;list-style:none;position:relative;}
ul.sf-menu li:hover{visibility:inherit;}
ul.sf-menu ul{left:-999999px;position:absolute;top:auto;width:150px;}
ul.sf-menu ul a{zoom:1;}
ul.sf-menu ul li{float:left;width:150px;}
ul.sf-menu ul ul{margin:0 0 0 150px;top:0;}
ul.sf-menu li:hover ul,ul.sf-menu li:focus ul,ul.sf-menu li.sf-hover ul,ul.sf-menu ul li:hover ul,ul.sf-menu ul li:focus ul,ul.sf-menu ul li.sf-hover ul,ul.sf-menu ul ul li:hover ul,ul.sf-menu ul ul li:focus ul,ul.sf-menu ul ul li.sf-hover ul,ul.sf-menu ul ul ul li:hover ul,ul.sf-menu ul ul ul li:focus ul,ul.sf-menu ul ul ul li.sf-hover ul{left:auto;}
ul.sf-menu li:hover ul ul,ul.sf-menu li:focus ul ul,ul.sf-menu li.sf-hover ul ul,ul.sf-menu ul li:hover ul ul,ul.sf-menu ul li:focus ul ul,ul.sf-menu ul li.sf-hover ul ul,ul.sf-menu ul ul li:hover ul ul,ul.sf-menu ul ul li:focus ul ul,ul.sf-menu ul ul li.sf-hover ul ul,ul.sf-menu ul ul ul li:hover ul ul,ul.sf-menu ul ul ul li:focus ul ul,ul.sf-menu ul ul ul li.sf-hover ul ul{left:-999999px;}
span.sf-arrow{background:url(../img/arrows-white.png) no-repeat 0 0;display:block;font-size:1px;height:7px;overflow:hidden;position:absolute;right:5px;top:20px;width:7px;}
ul ul span.sf-arrow{background-position:0 100%;right:10px;top:20px;}
ul#nav{float:left;}
ul#nav ul{background:#4FBF2C;margin-top:5px;padding-bottom:15px;}
ul#nav li a{color:#0D3506;font:170% arial, sans-serif;margin-right:2px;padding:7px 20px 6px;text-decoration:none;text-shadow:1px 1px #66DA53;}
ul#nav li a:hover,ul#nav li a:focus{color:#222;text-shadow:none;}
*,ul.sf-menu,ul.sf-menu *{margin:0;padding:0;}
ul.sf-menu,ul.sf-menu a{display:block;position:relative;}
*/
/*** DEMO SKIN ***/
.sf-menu {
float: left;
margin-bottom: 0em;
}
.sf-menu ul {
box-shadow: 2px 2px 6px rgba(0,0,0,.2);
min-width: 12em; /* allow long menu items to determine submenu width */
*width: 12em; /* no auto sub width for IE7, see white-space comment below */
}
.sf-menu a {
/*border-left: 1px solid #fff;
border-top: 1px solid #dFeEFF; /* fallback colour must use full shorthand
border-top: 1px solid rgba(255,255,255,.5);*/
/*padding: .75em 1em;*/
padding: 7px 20px 6px 20px;
text-decoration: none;
zoom: 1; /* IE7 */
}
.sf-menu a {
font: 120% 'graublau_web';
color: var(--grey5);
}
.sf-menu li {
/*background: var(--blue4);*/
white-space: nowrap; /* no need for Supersubs plugin */
*white-space: normal; /* ...unless you support IE7 (let it wrap) */
-webkit-transition: background .2s;
transition: background .2s;
}
.sf-menu ul li {
background: var(--blue4);
}
.sf-menu ul ul li {
/*background: #9AAEDB;*/
}
.sf-menu li:hover,
.sf-menu li.sfHover {
background: var(--blue3);
/* only transition out, not in */
-webkit-transition: none;
transition: none;
}
/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
padding-right: 2.5em;
*padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
content: '';
position: absolute;
top: 50%;
right: 1em;
margin-top: -3px;
height: 0;
width: 0;
/* order of following 3 rules important for fallbacks to work */
border: 5px solid transparent;
border-top-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
border-top-color: rgba(255,255,255,.5);
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
border-top-color: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
margin-top: -5px;
margin-right: -3px;
border-color: transparent;
border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
border-left-color: rgba(255,255,255,.5);
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
border-left-color: white;
}