Common.css: diferència entre les revisions
De Recursos docents
Cap resum de modificació Etiqueta: Revertida |
Cap resum de modificació Etiqueta: Reversió manual |
||
Línia 149: | Línia 149: | ||
#toc { | #toc { | ||
position: fixed | position: fixed; | ||
left: 10px; /* Adjust as needed */ | left: 10px; /* Adjust as needed */ | ||
top: 10px; /* Adjust for header space */ | top: 10px; /* Adjust for header space */ |
Revisió del 09:51, 17 feb 2025
/* Editeu aquest fitxer per personalitzar totes les aparences per al lloc sencer */ .external { background-image: url("https://recursosdocents.uvic.cat/images/f/fd/Icon_External_Link2.svg.png"); background-size: 13px; background-position: center right; background-repeat: no-repeat; padding-right: 13px; } /* Copied from https://www.mediawiki.org/w/load.php?debug=true&lang=en&modules=skins.vector.styles&only=styles&skin=vector */ .gallerytext p { font-size: 80%; } /* Suggested by ChatGPT to remove self-linking */ a.selflink { pointer-events: none; color: inherit; text-decoration: none; } /* CSS per títol de la plantilla Sidebar*/ .sideblock { padding-left: 2em; } /* CSS de la primera pàgina */ #primers { background: url("//recursosdocents.uvic.cat/images/a/ac/Rocket-40percent.png"); background-position: center right; background-repeat: no-repeat; background-size: 25%; background-origin: content-box; padding-right: 5em; } #primers:hover { background: url("//recursosdocents.uvic.cat/images/8/8a/Rocket-green-40percent.png"); background-position: center right; background-repeat: no-repeat; background-size: 25%; background-origin: content-box; padding-right: 5em; } #plataformes { background: url("//recursosdocents.uvic.cat/images/7/7f/Layers-grey.png"); background-position: center right; background-repeat: no-repeat; background-size: 25%; background-origin: content-box; padding-right: 4em; } #plataformes:hover { background: url("//recursosdocents.uvic.cat/images/4/49/Layers-green.png"); background-position: center right; background-repeat: no-repeat; background-size: 25%; background-origin: content-box; padding-right: 4em; } #moodle { background: url("//recursosdocents.uvic.cat/images/b/b1/Grad-cap-grey.png"); background-position: center right; background-repeat: no-repeat; background-size: 32%; background-origin: content-box; padding-right: 5em; } #moodle:hover { background: url("//recursosdocents.uvic.cat/images/6/63/Grad-cap-green.png"); background-position: center right; background-repeat: no-repeat; background-size: 32%; background-origin: content-box; padding-right: 5em } #continguts { background: url("//recursosdocents.uvic.cat/images/9/9f/Recycle-solid-grey.png"); background-position: center right; background-repeat: no-repeat; background-size: 25%; background-origin: content-box; padding-right: 5em; } #continguts:hover { background: url("//recursosdocents.uvic.cat/images/4/4c/Recycle-solid-green.png"); background-position: center right; background-repeat: no-repeat; background-size: 25%; background-origin: content-box; padding-right: 5em; } #institucio { background: url("//recursosdocents.uvic.cat/images/5/5c/Institution-grey.png"); background-position: center right; background-repeat: no-repeat; background-size: 25%; background-origin: content-box; padding-right: 4em; } #institucio:hover { background: url("//recursosdocents.uvic.cat/images/1/16/Institution-green.png"); background-position: center right; background-repeat: no-repeat; background-size: 25%; background-origin: content-box; padding-right: 4em; } #suport { background: url("//recursosdocents.uvic.cat/images/f/ff/Question-grey.png"); background-position: center right; background-repeat: no-repeat; background-size: 25%; background-origin: content-box; padding-right: 5em; } #suport:hover { background: url("//recursosdocents.uvic.cat/images/2/29/Question-green.png"); background-position: center right; background-repeat: no-repeat; background-size: 25%; background-origin: content-box; padding-right: 5em; } .image-with-margin { margin: 10px; } .ve-init-mw-desktopArticleTarget-targetContainer { margin-left: 17rem !important; } #toc { position: fixed; left: 10px; /* Adjust as needed */ top: 10px; /* Adjust for header space */ width: 23em; background: #fff; border: 0px solid #fff; max-height: 600px; overflow-y: auto !important; padding: 0px ; font-size: 10px; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); z-index: 1000; } #mw-toc-heading {display: none; } /* */