The compact table layout.
Greasy Fork Compact 2023 by STURMWAFFELL
Details
AuthorSTURMWAFFELL
LicenseNONE
CategoryRUN
Created
Updated
Size46 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link./* ==UserStyle==
@name Greasy Fork Compact 2023
@namespace USO Archive
@author wOxxOm
@description The compact table layout.
@version 20230916.17.49
@license NONE
@preprocessor uso
@advanced color bgcolor "Background color" #f2f3f4
@advanced text nick "Nickname to highlight" "Agent Smith"
@advanced color nickcolor "Nickname color" #008000
==/UserStyle== */
@-moz-document domain("greasyfork.org"),
domain("sleazyfork.org")
{
/* GLOBAL *******************************************************************/
#Content a[href $= "//*[[nick]]*/"],
a[href $= "/*[[nick]]*/"]
{
color: /*[[nickcolor]]*/;
font-weight: bold;
}
html,
body,
.script-list,
.user-list,
.text-content
{
border: none;
box-shadow: none;
padding: 0;
margin: 0;
background-color: /*[[bgcolor]]*/
}
.text-content > p:first-child,
/* 404 error */
.text-content > p:first-child + p:last-child
{
margin-top: 1rem;
}
:target
{
outline: 1px solid #ffc000;
}
.width-constraint
{
margin: 0;
padding: 0 2rem;
max-width: 100%;
min-width: 1000px;
}
#main-header,
#Head
{
background: linear-gradient(#123 48px, #234 48px) !important;
border-bottom: 4px solid #506880;
height: 64px;
margin-bottom: 64px;
}
#site-name
{
position: absolute;
z-index: 999
}
#site-name img
{
border: 2px solid #fff;
border-radius: 50%;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}
#main-header #site-name a,
#main-header #site-name h1,
#Head #site-name a,
#Head #site-name h1
{
min-height: 96px;
margin-bottom: -24px;
background: -webkit-linear-gradient(-80deg, #A9BED2, #2D3C4E);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
color: #4B5867;
text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}
#Head .subtitle,
#main-header .subtitle
{
text-shadow: none;
color: rgba(0, 30, 50, 0.5);
}
.sign-out-link,
#Head #nav-user-info
{
color: rgba(255, 255, 255, 0.2);
}
#Head #nav-user-info li:nth-child(2) a,
#main-header .sign-out-link a
{
color: rgba(255, 255, 255, 0.4);
}
#site-nav nav,
.SiteMenu
{
display: flex;
top: 44px;
height: 24px;
}
nav li,
.SiteMenu li
{
padding: 0 1ex;
background-color: rgba(255, 255, 255, 0.15);
}
li.nav-search
{
padding-right: 0px;
}
#Head .SiteMenu li a,
#main-header #site-nav li a
{
color: rgba(215, 245, 255, 0.8);
}
body
{
font-size: 12pt
}
body,
.SiteTitle,
select,
input
{
letter-spacing: 0
}
a
{
color: #147;
text-decoration: none
}
a:hover:not(.Button),
#Head #nav-user-info a:hover,
#Head .SiteMenu a:hover,
#Head #site-nav a:hover
{
text-decoration: underline;
}
a:visited:not(.Button)
{
color: #578
}
#nav-user-info
{
font-size: medium
}
#language-selector-locale
{
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-color: rgba(0, 0, 0, 0.3);
color: rgba(215, 245, 255, 0.5);
border: none;
min-width: calc(14em + 16px + 1ex);
padding-left: 1ex;
outline: none!important;
}
#language-selector-locale option
{
background: #123!important
}
#script-search input[type = "search"]
{
min-width: 13em;
background-color: transparent;
border: none;
height: 24px;
padding: 0 0.5ex;
color: white;
outline: none!important;
}
#script-search input[type = "search"]:-webkit-input-placeholder
{
color: rgba(215, 245, 255, 0.5);
}
#script-search input[type = "search"]:-webkit-autofill
{
-webkit-box-shadow: 0 0 0 50px #42515F inset;
-webkit-text-fill-color: white;
}
.expander
{
background-color: #cde;
color: #123
}
.width-constraint > .notice
{
text-align: center;
display: block;
margin: 0;
font-weight: bold;
background-color: #ffd500;
border-left: none;
line-height: 1.1;
}
pre,
code
{
font-size: 9.5pt;
line-height: 1.2;
background: #F7F7EF;
border: 1px solid #D2D2C7;
white-space: pre-wrap;
}
:not(pre) > code,
pre
{
padding: 1px 6px 3px;
overflow-wrap: anywhere;
}
/* more menu on top */
.SiteMenu nav
{
background-color: #234;
margin-top: 0;
z-index: 10000;
}
.SiteMenu nav li
{
padding: 0;
}
#site-nav .with-submenu nav
{
display: none;
}
#site-nav .with-submenu nav,
#site-nav .with-submenu nav li
{
background-color: #234;
}
#site-nav .with-submenu nav li:last-child
{
padding-bottom: 1ex;
}
#site-nav .with-submenu a:hover + nav,
#site-nav .with-submenu nav:hover
{
display: block;
margin-top: -3ex;
}
.pagination
{
display: flex;
padding: 1rem 2rem !important;
background: linear-gradient(rgba(10, 40, 80, .5), rgba(10, 40, 80, .25) 15%, rgba(10, 40, 80, .15) 50%, rgba(10, 40, 80, .1) 80%, rgba(10, 40, 80, .2) 100%);
border-radius: 0 !important;
font-weight: bold;
font-size: 1rem !important;
}
.pagination > *,
.script-list + .pagination > *,
.user-list + .pagination > *
{
background: #dae0e5;
border: 1px solid #879fb6;
padding: .25em .75em !important;
margin-right: .25em !important;
border-radius: .75em;
}
.pagination > a:hover,
.pagination > a:focus
{
background-color: #fff;
}
.pagination .current
{
background-color: #3979bd;
color: #fff;
border-color: #06233f;
}
html
{
overflow-y: auto;
}
.previewable
{
margin-right: 2rem;
}
.user-content
{
overflow-wrap: anywhere;
overflow: visible;
}
.modal__btn,
.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay
{
will-change: auto !important;
}
.post-discussion
{
margin: 0 2rem;
}
.preview-results.user-content
{
height: auto !important;
}
}
@-moz-document regexp("https://(greasy|sleazy)fork\\.org/([^/]+/)?search/?.*")
{
/* SEARCH */
h3
{
font-size: 11pt;
padding-top: .25rem;
}
form
{
position: relative;
display: block !important;
margin-bottom: 3rem;
}
input[type = "search"]
{
color: #123 !important;
background-color: white !important;
font-weight: bold;
border: 1px solid #abc !important;
width: calc(100% - 12rem);
top: 0.2rem;
left: 10rem;
position: absolute;
height: 23px;
}
input.search-submit
{
top: 0.2rem;
right: 0;
position: absolute;
}
form p
{
top: 1rem;
left: 10rem;
position: absolute;
font-size: 85%;
opacity: 0.6;
transition: opacity .5s .25s;
}
form p:hover
{
opacity: 1;
}
}
@-moz-document regexp("https://(greasy|sleazy)fork\\.org/([^/]+/)?(scripts(|/|(/page|/by-site|/search|/code-search|/libraries|/?\\?|/requested_permanent_deletion|/reported|/minified).*)|users/\\d+.*)$")
{
/* SCRIPT LIST (global and inside user profile) *******************************************************************/
.width-constraint
{
padding: 0;
}
#script-language-filter
{
position: absolute;
right: 1rem;
margin-top: .5em;
width: 18ex;
text-align: right;
}
.list-option-groups ~ ol
{
width: auto!important;
}
.width-constraint > p:first-child
{
text-align: center;
padding-top: 2em;
}
body > .width-constraint
{
min-height: 10em;
text-align: center;
}
/*deleted script*/
.width-constraint > *
{
text-align: left
}
#main-header
{
padding-left: 2ex;
padding-right: 2ex;
margin-bottom: 0;
}
#by-site-list
{
padding: 0 2em;
font-size: 120%
}
.script-type
{
font-size: 0.7rem;
}
/******** SORT OPTIONS ********************/
.sidebarred-main-content
{
max-width: none;
}
.list-option-groups
{
float: none;
width: 100%;
height: 8ex;
margin-top: 0;
margin-left: 0;
background: linear-gradient(rgba(0, 15, 40, 0.2), rgba(0, 15, 40, 0.3) 90%, rgba(0, 15, 40, 0.5) 100%);
font-size: 10pt;
}
.list-option-groups a:hover
{
text-decoration: underline;
}
.list-option-group
{
margin-left: calc(4ex + 96px);
border: none;
background: none;
border-radius: 0;
padding: 0.5em 0.5em 0.3em;
margin-bottom: 1em;
}
.list-option-group ul
{
...