Created
December 9, 2017 09:26
-
-
Save mfalkvidd/d6d93efcf8268b71c812d94e6f66c455 to your computer and use it in GitHub Desktop.
MySensors NodeBB customizations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
} | |
.categories h2.title .description, .category h2.title .description, .subcategory h2.title .description { | |
line-height: 1.2; | |
} | |
.categories>li .category-children .fa-stack { | |
display: none; | |
} | |
.pagination-block { | |
padding-left: 30px; | |
} | |
#main-nav { | |
float: right; | |
} | |
#content { | |
padding-left: 5%; | |
padding-right: 5%; | |
} | |
.markdown-highlight { | |
display: inline-block; | |
width: 70%; | |
} | |
#header-menu { | |
background-color: #fff; | |
-webkit-box-shadow: 0 -2px 38px rgba(0,0,0,.5); | |
box-shadow: 0 -2px 38px rgba(0,0,0,.5); | |
} | |
@media (min-width: 768px) { | |
#header-menu { | |
padding-top: 42px; | |
} | |
#content { | |
margin-top:55px | |
} | |
} | |
@media (max-width: 767px) { | |
#header-menu .navbar-header a { | |
display:block !important; | |
} | |
} | |
#header-menu .navbar-header a { | |
display:none; | |
} | |
@font-face { | |
font-family: 'Roboto Condensed'; | |
src: url('/vendor/fonts/RobotoCondensed-Regular-webfont.eot'); | |
src: url('/vendor/fonts/RobotoCondensed-Regular-webfont.eot?#iefix') format('embedded-opentype'), | |
url('/vendor/fonts/RobotoCondensed-Regular-webfont.woff') format('woff'), | |
url('/vendor/fonts/RobotoCondensed-Regular-webfont.ttf') format('truetype'), | |
url('/vendor/fonts/RobotoCondensed-Regular-webfont.svg#roboto_condensedregular') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
#mysensorsHeader .navbar-nav>li>a { | |
font-size: 18px; | |
padding-top: 16px; | |
padding-left: 16px; | |
padding-right: 0px; | |
padding-bottom: 0px!important; | |
font-family: Roboto Condensed,Helvetica,Arial,sans-serif; | |
} | |
#mysensorsHeader ul { | |
float: right; | |
padding-right: 19px | |
} | |
.navbar-site-brand { | |
background: url(https://www.mysensors.org/images/MySensorsLogo.png) no-repeat; | |
background-size: 118px 41px; | |
background-position: 6px 5px; | |
height: 51px; | |
padding-left: 126px; | |
} | |
.navbar-toggle { | |
position: relative; | |
float: right; | |
margin-right: 15px; | |
margin-top: 5px; | |
margin-bottom: 2px; | |
background-color: transparent; | |
background-image: none; | |
border: none; | |
} | |
.navbar-default .navbar-nav>li>a { | |
color: #888; | |
} | |
.navbar-default li.active>a { | |
color: #000!important; | |
background-color: #fff!important; | |
} | |
.container { | |
width: 100% !important; | |
} | |
/* old */ | |
.navbar-default { | |
border: 0px !important; | |
} | |
.fa-navicon:before { | |
content:"\00a0 \00a0 \00a0 \00a0"!important; | |
width:14px; | |
height:14px; | |
background-size: 14px 14px; | |
background-repeat: no-repeat; | |
background-image: url(https://www.openhardware.io/images/logo.png); | |
} | |
.copyright { | |
padding-top: 20px; | |
padding-bottom: 20px; | |
font-size: 14px; | |
margin-right: auto; | |
margin-left: auto; | |
padding-left: 15px; | |
padding-right: 15px; | |
width: 100%; | |
text-align: center; | |
} | |
.header .forum-logo { | |
float: left; | |
width: 150px; | |
margin-top: 11px; | |
margin-left: 4px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var el = $('#mysensorsHeader').detach(); | |
$("#panel").append(el); | |
$('#mysensorsHeader').show(); | |
$(".topic").on("click", ".markdown-highlight", function() {$(this).css("max-height", "inherit"); $(this).css("width", "inherit"); }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment