91098bc437
* Split SCSS for easier changes * Re-ordered SCSS files for easier overrides of defaults * Fixed padding classes with auto value * Added theme """stub"""
62 lines
1.2 KiB
SCSS
62 lines
1.2 KiB
SCSS
// NibblePoker CSS Theme - CC0 1.0 (Public Domain)
|
|
|
|
|
|
/* Defaults > Text > Basics */
|
|
|
|
* {
|
|
color: #{$color-text-generic};
|
|
}
|
|
|
|
nav, footer, header, .bkgd-grid {
|
|
* {
|
|
color: #{$color-text-surround};
|
|
}
|
|
}
|
|
|
|
p {
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.t-logo-text {
|
|
font-size: 1.775em;
|
|
line-height: 1;
|
|
}
|
|
|
|
/* Site > Text > Targeted Rules > Sidebar */
|
|
// Special rules for the sidebar and FontAwesome icons
|
|
|
|
.sidebar-entry {
|
|
i {
|
|
width: 1.9rem !important;
|
|
// Required to prevent a size flicker when hiding/showing the sidebar.
|
|
// The about link is the most visible one.
|
|
min-width: 1.9rem !important;
|
|
}
|
|
|
|
// Preventing a subtle line break when hiding/showing the sidebar.
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
|
|
// Doesn't work, even with hyper-specific parent selectors...
|
|
//> i, > i:hover {
|
|
// text-decoration: none !important;
|
|
//}
|
|
}
|
|
|
|
/* Site > Text > Targeted Rules > Headings */
|
|
|
|
// And now for the headings, the exceptions keep popping up :,)
|
|
// TODO: Add a simple and nicer divider.
|
|
.heading-main {
|
|
> h2, > h3, >h4 {
|
|
> i {
|
|
//margin-left: 0.25rem;
|
|
margin-right: 0.4rem;
|
|
padding-right: 0.1rem;
|
|
width: 1.75rem !important;
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|