mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
conditional header-logo
This commit is contained in:
parent
a208d2a014
commit
0c72458e61
3 changed files with 20 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
@import "_mejs_hacks.less";
|
||||
@import "_footer.less";
|
||||
|
||||
@img: '../img/';
|
||||
@img: '../img';
|
||||
|
||||
@grid-float-breakpoint: @screen-xs-min;
|
||||
|
||||
|
@ -33,9 +33,23 @@
|
|||
// website configuration styles
|
||||
|
||||
nav {
|
||||
.navbar-brand > img {
|
||||
float: left;
|
||||
margin-right: @navbar-padding-horizontal;
|
||||
.navbar-brand {
|
||||
line-height: 27px;
|
||||
|
||||
.icon {
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("@{img}/tv.png");
|
||||
|
||||
float: left;
|
||||
display: block;
|
||||
width: 27px;
|
||||
height: 27px;
|
||||
margin-right: @padding-base-horizontal;
|
||||
}
|
||||
|
||||
.icon when (luma(@navbar-default-bg) > 50%) {
|
||||
background-image: url("@{img}/tv-inverse.png");
|
||||
}
|
||||
}
|
||||
|
||||
.button-wrapper > .btn {
|
||||
|
|
BIN
assets/img/tv-inverse.png
Normal file
BIN
assets/img/tv-inverse.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 603 B |
|
@ -2,8 +2,8 @@
|
|||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand" href="">
|
||||
<img alt="ccc-tv logo, a tv displaying a play icon" src="assets/img/tv.png" />
|
||||
<span><?=h(get('CONFERENCE.TITLE', 'C3Voc'))?> Streaming</span>
|
||||
<i class="icon"></i>
|
||||
<?=h(get('CONFERENCE.TITLE', 'C3Voc'))?> Streaming
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue