forked from GNUsocial/gnu-social
Eliseu Amaro
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.
42 lines
754 B
CSS
42 lines
754 B
CSS
|
||
|
||
.section-panel-right {
|
||
right: 0;
|
||
}
|
||
|
||
#panel-right-toggle:not(:checked),
|
||
#panel-right-toggle:checked {
|
||
position: absolute;
|
||
top: -100%;
|
||
}
|
||
|
||
.panel-right-icon {
|
||
margin-left: var(--m) !important;
|
||
cursor: pointer !important;
|
||
border: 2px solid transparent;
|
||
}
|
||
|
||
.section-panel-right textarea {
|
||
resize: vertical;
|
||
}
|
||
|
||
@media only screen and (min-width: 1281px) {
|
||
.panel-right-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-right
|
||
* 50 % - 33% = 17%
|
||
*/
|
||
.section-panel-right {
|
||
margin-right: 17vw;
|
||
}
|
||
} |