671c3968e2
[CSS] Font size hierarchy refactor [PLUGINS][MediaFeed] Renamed BeforeFeed event Type scale hierarchy redone. Bigger line height added, making it easier to click on links and separate contents. Feed title added. AddFeedActions replaces BeforeFeed event. MediaFeed links will now show an icon to the right of the feed title, smaller footprint and more consistent with the overall design.
78 lines
1.2 KiB
CSS
78 lines
1.2 KiB
CSS
|
||
|
||
.section-panel-left {
|
||
left: 0;
|
||
}
|
||
|
||
#panel-left-toggle:not(:checked),
|
||
#panel-left-toggle:checked {
|
||
position: absolute;
|
||
top: -100%;
|
||
}
|
||
|
||
.panel-left-icon {
|
||
cursor: pointer !important;
|
||
border: 2px solid transparent;
|
||
}
|
||
|
||
.profile-navigation {
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
|
||
/* FEED NAVIGATION / PLUGINS */
|
||
.feed-nav {
|
||
margin-bottom: var(--xl);
|
||
}
|
||
|
||
.feed-nav a {
|
||
display: flex;
|
||
}
|
||
|
||
.feed-nav hr {
|
||
flex: 1;
|
||
background: linear-gradient(90deg, var(--accent), transparent);
|
||
}
|
||
|
||
.feed-nav a {
|
||
color: var(--foreground);
|
||
}
|
||
|
||
.feed-nav .active {
|
||
color: var(--foreground);
|
||
}
|
||
|
||
.main-nav a {
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.footer {
|
||
margin-top: auto;
|
||
font-size: var(--unit);
|
||
}
|
||
|
||
/* > 720p */
|
||
@media only screen and (min-width:1281px) {
|
||
.panel-left-icon {
|
||
display: none;
|
||
}
|
||
}
|
||
|
||
/* > 1080p */
|
||
@media only screen and (min-width:1921px) {
|
||
/*
|
||
* Using the Van de Graaf Canon and Tschichold’s recommended 2:3 page-size ratio
|
||
*
|
||
* 50% - (100 * 2/3) / 2 = 33%
|
||
*
|
||
* > .section-panel-left
|
||
* 50 % - 33% = 17%
|
||
*/
|
||
.section-panel-left {
|
||
left: 0;
|
||
margin-left: 17vw;
|
||
}
|
||
}
|