Roll20 scripts
roll20.net - 4/9/2023, 9:46:20 AM by carterartist
Details
Authorcarterartist
LicenseNo License
Categoryroll20.com
Created
Updated
Size22 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 roll20.net - 4/9/2023, 9:46:20 AM
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
==/UserStyle== */
@-moz-document domain("roll20.net") {
/* Show off your Style! */
/* Inline Links on OGL Roll Templates */
/* https://app.roll20.net/forum/permalink/7455586/ */
.textchatcontainer a[href] {
background-color: transparent;
padding: 0px;
color: #ce0f69;
display: inline-block;
border: none;
}
.sheet-rolltemplate-npc, .sheet-rolltemplate-npcaction .sheet-container, .sheet-rolltemplate-npcatk, .sheet-rolltemplate-npcdmg, .sheet-rolltemplate-traits {
width: 95%;
border: 1px solid;
background-color: #ffffff;
padding: 5px;
}
/* Tiny Tracker */
#initiativewindow {
padding: 1px 1px;
overflow-x: auto
}
#initiativewindow ul li {
padding: 0px;
}
#initiativewindow ul li {
min-height: 15px
}
#initiativewindow ul li img {
max-width: 20px;
max-height: 18px;
}
#initiativewindow ul li span.initiative {
font-size: 16px;
padding: 0px;
min-height: 12px
}
#initiativewindow ul li span.name {
font-size: 12px;
padding-top: 0px;
padding-left: 4px;
}
#initiativewindow input {
font-size: 12px;
height: 12px;
}
.initiativedialog .ui-dialog-titlebar {
padding: 1px 5px;
font-size: 12px;
background-color:black;
}
.initiativedialog .ui-dialog-title {
margin-top: 1px;
margin-bottom: 1px;
padding: 0px;
color:white;
}
.initiativedialog .ui-dialog-titlebar-close {
top: 50%;
width: 19px;
margin: -30px 0 0 0;
padding: 1px;
height: 6px;
font-size: 7px;
line-height: 7.5px;
color:white;
background-color:white;
}
.initiativedialog .ui-dialog-titlebar-close span {
display: block;
margin: 1px;
text-indent: 9999px
}
.initiativedialog .ui-dialog-buttonpane {
border-width: 1px 0 0 0;
margin: .05em 0 0 0;
background-color: var(--dark-background, #f5f5f5);
padding: 1px 12px 0px 1px;
}
.initiativedialog .ui-dialog-buttonpane button {
margin: .05em .04em .05em 0;
}
.initiativedialog .ui-dialog-titlebar-close{
top:150%;
height: 18px;
}
.initiativedialog .bigbuttonwithicons{
width:35px;
}
/* Hide Roll20 Interface */
/*
#playerzone, #zoomslider, #secondary-toolbar, #sidebarcontrol, #page-toolbar .handle.showtip, .ui-dialog, #floatingtoolbar, #macrobar .player {
display: none !important;
}
*/
/* Add Rows to Map Tab */
#page-toolbar {
height: 270px;
}
#page-toolbar .container {
height: 270px;
white-space: normal
}
#page-toolbar .height {
height: 270px!important
}
/* More Compact Token Action ToolBar */
#secondary-toolbar .tokenactions .btn, .btn.btn-default {
padding: 0px 3px 0px 3px;
margin-top: 2px;
margin-bottom: 0px;
margin-right: 1px;
}
#secondary-toolbar {
background-color: rgba(0, 0, 0, 0.44) !important;
}
/* 5e Style for Your Handouts */
p, body .content.note-editor.gmnotes, .content.note-editor.notes {
font-family: Georgia;
font-size: 1.5rem;
}
h1, h2, h3 {
font-family: Mrs Eaves !important;
color: #58170D;
font-weight: bolder;
font-variant: small-caps;
text-transform: capitalize;
}
blockquote {
box-sizing: border-box;
margin-bottom: 1em;
margin-top: 1em;
padding: 5px 10px;
background-color: #e0e5c1;
border-left: 0px;
border-style: solid;
border-width: 1px;
box-shadow: 1px 4px 14px #888;
}
h1 {
font-size: 4rem !important;
margin-bottom: 1em;
}
h2 {
font-size: 3rem !important;
}
h3 {
font-family: sans-serif;
font-variant: small-caps;
font-size: 2rem;
text-transform: capitalize;
color: #58170D;
margin: 10px 0px 1px 0px;
border-bottom: 1px solid #58170D;
}
/* Marketplace Read Tags And See Pictures */
.marketplacelistingitem .desc .subdesc p {
font-size: 10px;
line-height: 10px;
white-space: normal;
}
.marketplacelistingitem {
width: 165px;
height: 265px;
}
.marketplacebrowseitem .desc, .marketplacelistingitem .desc {
top: 165px;
}
/* Neater Character Vault */
.vaultchar {
border: 1px solid #aaa;
margin-top: 1em;
background: #eee;
border-radius: 5px;
padding: 0.5em;
height: 385px;
text-overflow: clip;
}
.vaultchar p.char-name {
font-size: 20px;
background: #666;
border-radius: 4px;
padding: 0em 0.5em 0em;
color: #fff
}
.char-info {
height: 270px;
text-overflow: clip;
margin-top: 5px;
}
.char-images {
height: 270px;
margin-top: 5px;
}
.char-bio {
text-overflow: clip;
overflow: scroll;
}
.charmenu p {
font-size: 12px;
}
.char-tools .btn:not(.btn-primary) {
padding: 0em;
}
label.choose {
line-height: 1.8;
margin-bottom: 0px;
padding: 0em;
}
.char-tools .btn {
padding: 0em;
}
.char-avatar img,
.char-token img {
overflow: scroll;
max-height: 100px;
}
.char-avatar,
.char-token {
font-size: 12px;
padding: 0em;
margin: .25em 1em 0em;
}
/* Turn Order Settings dialog */
div#initiativewindow_settings { background-color: ivory; }
div#initiativewindow_settings p:nth-child(1) { display: block; } /* sort options */
div#initiativewindow_settings p:nth-child(2) { display: block; } /* numerically */
div#initiativewindow_settings p:nth-child(3) { display: none; } /* alphabetically */
div#initiativewindow_settings p:nth-child(4) { display: none; } /* card suit */
div#initiativewindow_settings p:nth-child(6) { display: none; } /* custom item */
div#initiativewindow_settings hr { display: none; } /* nth-child 5 and 7 */
/* Edit Macro dialog */
div[data-macroid] { height: 400px !important; }
div[data-macroid] textarea.macro { height: 75px; }
/* New Card dialog */
div.cardeditor div.dropbox {
min-height: 250px !important;
height: 250px !important;
}
div.cardeditor div.clear:nth-child(5) { display: none !important; }
/*
Roll20, Chat, hide errors
This hides all error messages in Chat.
It's useful if you have a macro that lists 3 repeating_weapons or spells,
but the character has only 2.
*/
div.message.error {
display: none;
}
/*Re-styles buttons into text links*/
.textchatcontainer a[href^="~"]
{
background-color: transparent;
padding: 0px;
color: #ce0f69;
display: inline-block;
border: none;
}
/*Enlarges Righthand Column when possible*/
.sheet-rolltemplate-default td:first-child
{
font-weight: bold;
text-align: right;
min-width: 0px;
padding-right: 5px;
}
/*Recolors Header*/
.sheet-rolltemplate-default caption
{
background-color: #333;
color: #eee;
font-family: "Helvetica Neue", Helvetica, sans-serif;
font-size: 1.1em;
padding: 1px;
font-weight: bold;
}
/*The following two blocks control size and position*/
.sheet-rolltemplate-default td
{
padding: 1px;
line-height: 1.4em;
vertical-align: top;
}
.sheet-rolltemplate-default
{
margin-left: -30px;
margin-right: 20px;
}
/* Tighter Sidebar Lists */
.dd-list .journalitem .name, .dd-list .library-item .name {
top: 0px;
}
.dd-list .journalitem .token, .dd-list .library-item .token {
top: 0px;
}
.dd-item .folder-title {
background-color: #eee !important;
}
.dd-content {
padding: 0px;
}
#compendium .searchroot .dd-item .dd-content .token img {
padding: 0px;
max-width: 19px;
max-height: 19px;
}
#compendium .searchroot .dd-item .dd-content .token {
top: 0px;
}
#compendium .searchroot .dd-item .dd-content .sourcefooter {
width: 18px;
height: 18px;
position: absolute;
top: 0px;
right: 0;
font-size: 6px;
}
.expandcontroller {
position: relative;
bottom:10px;
}
#compendium .searchroot .dd-item .dd-content .sourcefooter {
font-size: 12px;
}
.inapp .sourcefooter,.inapp.expansion3 .sourcefooter, .inapp.expansion9 .sourcefooter, .inapp.expansion13 .sourcefooter, .inapp.expansion16 .sourcefooter {
background-size: 15px 10px;
background-image:none;
padding-top: 5px;
top: 0px !important;
}
.dd-item, .dd-empty, .dd-placeholder {
min-height: 21px;
font-size: 12px;
line-height: 20px;
}
.dd-list .handout img, .dd-list .archivetable img, .dd-list .journalitem img, .dd-list .library-item img{
max-width: 20px;
max-height: 20px;
}
.dd-item>button {
height: 16px;
margin: 0px;
font-size: 14px;
top: 0px;
}
.dd-handle {
top: 0px;
width: 20px;
padding: 0px 10px;
}
/* Query input fits to popup. */
.ui-dialog-content.ui-widget-content > p > strong + input {width: 100% !important; width: -moz-available !important; width: -webkit-fill-available !important; width: fill-available !important;}
/* Show Time Stamps In Chat Archive */
.textchatcontainer .message .tstamp {
display: block !important;
}
/* Zoom Slider Tweaks */
.zoomplus, .zoomminus {
font-size: 7px;
}
#zoomclick{
opacity: 0.8;
}
#zoomclick .btn {
width: 2.8px;
height: 5px;
padding-left: 8px;
}
#zoomslider a.ui-slider-handle.ui-state-default.ui-corner-all {
left: -.5em;
height: 10px;
width: 16px;
}
.zoomValue {
font-size: 12px;
font-family:"arial black";
background-color: #22222247;
padding: 0px;
}
/* Hide Toolbar Buttons */
#diceroller {
display: none !important;
}
#helpsite {
display: none !important;
}
/* Fixes display of innate field*/
.charsheet .sheet-spells .sheet-innate {
color: #666;
display: inline !important;
font-size: 9px;
text-transform: uppercase;
font-weight: bolder;
margin-left: -1px !important;
}
.charsheet .sheet-spell .sheet-display ...