Skip to content

Commit

Permalink
Update default styling
Browse files Browse the repository at this point in the history
  • Loading branch information
hugopeek committed Aug 27, 2020
1 parent 2fab558 commit 7bb94d6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
4 changes: 4 additions & 0 deletions assets/semantic/dist/project/semantic.css
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,10 @@ body:after {

:root {
--baseline: calc(1.5625 * 0.3);
--primary-color: #698f73;
--primary-color-light: #eaf3ec;
--secondary-color: #5f7ebe;
--secondary-color-light: #edf1f8;
}

@media screen and (min-width: 360px) {
Expand Down
2 changes: 1 addition & 1 deletion assets/semantic/dist/project/semantic.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions assets/semantic/dist/themes/romanesco/assets/js/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ $(function() {
on: 'click'
})
;
$('.ui.tabular.menu .item').tab();
$('.ui.tabbed.menu .item').tab();
$('.ui.tabular.menu:not(#submenu) .item').tab();
$('.ui.tabbed.menu:not(#submenu) .item').tab();

$('.ui.checkbox:not(.other):not(.collapsible):not(.slave)').checkbox();
$('.ui.radio.checkbox:not(.other):not(.collapsible):not(.slave)').checkbox();
Expand Down Expand Up @@ -237,7 +237,11 @@ $(function() {
unmatch: function() {

// Refill empty container
$('#menu .branding').after($navDropdown);
if ($('#menu .main.menu').length) {
$('#menu .main.menu').prepend($navDropdown);
} else {
$('#menu .branding').after($navDropdown);
}

// Initialize again to make sure 3-level dropdown is working
createDropdown($navDropdown);
Expand Down
Loading

0 comments on commit 7bb94d6

Please sign in to comment.