Codes CSS

CODES CSS

Prise de  tête

Voici les codes CSS utilisés sur cette campagne, ils ont été créés de manière empirique à coups de copier/coller et de nombreux essais, et ne sont donc pas parfaits… Mais ça fonctionne !

Pour ce travail, un grand merci à toute la communauté d’Obsidian Portal !

 

/* CODES CSS */



/* REMOVES LOGO, DISTINCTION, TITLE AND SPACE ABOVE BANNER */
.flame-dragon { display:none; }
.distinction { display:none; }
.campaign-title { display:none; } 
.campaign-public-layout #campaign-summary-row .row {opacity: 0.0; height: 30px}


/*GENERAL*/
/*Text*/
body {text-align:justify;font-family:Underdog;}

/*Style blockquotes*/
blockquote {border-left: none;}
blockquote, blockquote p {color:#838383 !important;font-style:italic;}

/*Removes all background and borders from tables*/
#content table{background-color:transparent; border-style:none;}
#content tr:nth-child(even) {background-color:transparent}

/*Test transparency (change opacity: 0,5)*/
.campaign-public-layout .campaign-landing-page-container, .campaign-public-layout .section, .campaign-public-layout .post-main, .campaign-public-layout .post-main.post-section, .campaign-public-layout .post-section.post-main, .campaign-public-layout .front-nav-container, .campaign-public-layout .sidebar, .campaign-public-layout .filter-container {opacity: 1; !important;}


/* LEFT NAVBAR */
/*Fixed Navbar and hide text*/
#campaign-nav {position:fixed !important; }
.nav-text {display:none;}
.calendar {display:none}
.dashboard {display:none}
.file-docker {display:none}

/*PREVIEW PAGE*/
.reveal-modal {width: 730px; left: 71%;}


/*HOME PAGE*/
/*Hide players avatars*/
.user-container {display:none;}


/*ADVENTURE LOG*/
.adventure-log-post-title.title {display:none} 
.tags-list.inline-list.small-list {display:none}
.overflow-fade-out {background: none !important;}
.post-view-link {display:none}
.adventure-log-index .post-column {height: 200px;}

.adventure-log-index .post-content {height: 200px;}


/*WIKI*/
/remove page title/
.wiki-page-name {display:none;}
.wiki-page-name.title {display:none;}


/*CHARACTERS (& ITEMS)*/
/*Ajustement TEMPORARY characters page*/
body.character-show #content {max-width: 1024px;}

/*Make GM only characters slightly transparent*/
.character-list-item.gm-only {opacity:0.6; }

/*Make GM only characters opaque on hover*/
.character-list-item.gm-only:hover {opacity:1; }

/*Erase tags*/
.character-info .tags-list {display:none !important;}

/*Erase "description" and "bio" titles*/
.character-show .bio h6, .character-show .tagline + div h6 {display:none;}


/*MAPS*/
#selected-map-container {height: 800px!important;}


Codes CSS

Dark Sun / La Décade des Héros Pils