/* Tampereen Elektroniikan Opiskelijat ry

Insert any custom css to theme here. Remember to comment. 
Also remember that css is public so all comments are too. 

Using !important should force all overwrites.
*/

/* Increase logo size even without "tagline" or title.
Top margin for centering, right margin removed as title is removed too.*/
#dw__logo { height:32px !important; margin-top:-6px !important; margin-right: 0px !important;}


/* Hide page title.. easier than removing it (DW uses the value elsewhere too) */
#dw__title { display:none !important;}


/* Center logo on mobile (menu collapsed). 
Overwrites logo margins, -6px for vertical center..*/
.navbar-brand > img {display:block; float:none !important;}
a.navbar-brand {display:block !important; float: none !important; margin:auto auto; width:max-content;}
#dw__logo {margin: -6px auto auto auto !important; text-align:center;}

/* "Colorblind links" i.e. underlined links in bodytext */
#dokuwiki__content a:link, #dokuwiki__content a:visited {
text-decoration:underline !important;
}
/* ..but not in TOC */
#dw__toc .toc > li > a:link, #dw__toc .toc > li > a:visited {
text-decoration: none !important;
}

/* New background image with transparency on panels */
div.dokuwiki {
background-image: url('https://www.telok.fi/_media/pienipanotelok.jpg') !important;
background-size: cover !important;
background-position: center top !important;
}
div.panel {
background-color: rgba(255,255,255,.925);
}
