philharmoniedeparis / metascore-library

The front-end library that powers the metaScore authoring tool.
https://metascore.philharmoniedeparis.fr
CeCILL Free Software License Agreement v2.1
0 stars 0 forks source link

Déterminer les usages actuels de la CSS #509

Open semiaddict opened 2 years ago

semiaddict commented 2 years ago

Bonjour Anne-Florence,

Suite à notre discussion de la semaine dernière, je joins ici un export des valeurs du champ "CSS" au format Excel. J'enverrai bientôt une version simplifiée et nettoyée (sans les règles en double).

css-db-export--20211201.xls

LouisMG commented 2 years ago

Bonjour, J'ai ouvert le fichier par curiosité. Pour plus de lisibilité, je me suis permis de créer un fichier css en enlevant les doublons et les commentaires et en triant les sélecteurs.

metascore.txt

semiaddict commented 2 years ago

Merci @LouisMG. Voici une version modifiée qui intègre les CSS externes directement dans le document et séparer les imports par type.

/* EXTERNES */
@import url(https://digital.philharmoniedeparis.fr/ui/skins/CIMU/metascore-demos.css);
@import url(https://pad.philharmoniedeparis.fr/ui/skins/CIMU/metascore-demos.css);
@import url(https://drop.philharmoniedeparis.fr/CMDA/test-metascore.css);
@import url(https://pad.philharmoniedeparis.fr/ui/skins/CIMU/metascore.css);
@import url(https://digital.philharmoniedeparis.fr/ui/skins/CIMU/metascore.css);
@import url(https://pad.philharmoniedeparis.fr/ui/skins/CIMU/metascore-sommaire-video.css);

/* ICONES */
@import url(https://use.fontawesome.com/releases/v5.4.1/css/all.css);

/* POLICES */
@import url(https://digital.philharmoniedeparis.fr/ui/skins/CIMU/metascore-SourceSansPro.css);
@import url(https://pad.philharmoniedeparis.fr/ui/skins/CIMU/metascore-SourceSansPro.css);
@import url(https://code.cdn.mozilla.net/fonts/fira.css);
@import url(https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Averia+Libre:ital,wght@0,400;0,700;1,400;1,700&family=Barlow+Semi+Condensed:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Barlow+Semi+Condensed:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,400;0,600;1,400;1,600&display=swap);
@import url(https://fonts.googleapis.com/css?family=Barlow|Life+Savers&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Londrina+Solid:wght@100;300;400;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap);
@import url(https://fonts.googleapis.com/css?family=Charmonman);
@import url(https://fonts.googleapis.com/css?family=Mali);
@import url(https://fonts.googleapis.com/css?family=Niramit);
@import url(https://fonts.googleapis.com/css?family=Notable);
@import url(https://fonts.googleapis.com/css?family=Roboto);
@import url(https://fonts.googleapis.com/css?family=Pacifico);
@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed);
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,500,700,900);
@import "polices/polices.css";
@font-face {
    font-family: LinotypeBrewery-Bold;
    font-style: normal;
    font-weight: 400;
    src: url(https://edutheque.philharmoniedeparis.fr/ui/skins/CIMU/polices/LinotypeBrewery-Bold.eot#iefix)
      format(embedded-opentype),
    url(https://edutheque.philharmoniedeparis.fr/ui/skins/CIMU/polices/LinotypeBrewery-Bold.otf)
      format(opentype),
    url(https://edutheque.philharmoniedeparis.fr/ui/skins/CIMU/polices/LinotypeBrewery-Bold.woff)
      format(woff),
    url(https://edutheque.philharmoniedeparis.fr/ui/skins/CIMU/polices/LinotypeBrewery-Bold.ttf)
      format(truetype),
    url(https://edutheque.philharmoniedeparis.fr/ui/skins/CIMU/polices/LinotypeBrewery-Bold.svg#LinotypeBrewery-Bold)
      format(svg);
  }

#animated_div {
  -moz-animation: a 7s 3;
  -moz-animation-direction: alternate;
  -o-animation: a 7s 3;
  -o-animation-direction: alternate;
  -webkit-animation: a 7s 3;
  -webkit-animation-direction: alternate;
  -webkit-border-radius: 5px;
  animation: a 7s 3;
  animation-direction: alternate;
  background: #eee;
  border-radius: 5px;
  color: #fff;
  height: 65px;
  position: relative;
  width: 41px;
}

#animated_div:hover {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

#basson {
  color: #eacbc0;
}

#bordNoir {
  border-left: 2px solid #333;
}

#bouton {
  margin: 0;
}

#clarinette {
  color: #dadada;
}

#cor {
  color: #ffd063;
}

#cordes {
  color: #f6c7ab;
}

#flute {
  color: #ced7cf;
}

#hautbois {
  color: #f5cd81;
}

#parcours_rapide,
#parcours_simple {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  background-color: #ccc;
  border-bottom: 4px solid #ccc;
  border-left: 8px solid #ccc;
  border-radius: 12px;
  border-right: 8px solid #ccc;
  border-top: 2px solid #ccc;
  box-shadow: 0.5px 1.5px 1px #666;
  display: inline-block !important;
  float: right;
  padding-top: 2px;
  text-align: center;
  vertical-align: middle;
}

#t1 {
  font-size: 3.3rem;
}

#t2 {
  font-size: 2.2rem;
}

#t2,
#t3 {
  line-height: 2rem;
}

#t3 {
  font-size: 1.9rem;
}

#t4 {
  font-size: 5.4rem;
  margin-left: 0;
  opacity: 0.45;
}

#t5 {
  color: #fff;
  font-size: 2.3rem;
  line-height: 2.6rem;
  margin: 15px 0 10px 10px;
  text-align: left;
}

#timbales {
  color: #ffdd7c;
}

* {
  color: #000;
  font-family: SourceSansPro;
  font-size: 1.1rem;
  font-weight: 150;
  letter-spacing: 0.07rem;
  line-height: 1.3rem;
}

.Player .metaScore-component.block .pager .buttons .button[data-action="first"],
.scenario .metaScore-component.block .pager .buttons .button[data-action="first"] {
  background-position: 12px 7px;
}

.Player .metaScore-component.block .pager .buttons .button[data-action="first"].inactive,
.scenario .metaScore-component.block .pager .buttons .button[data-action="first"].inactive {
  background-position: 12px -41px;
}

.Player .metaScore-component.block .pager .buttons .button[data-action="next"],
.scenario .metaScore-component.block .pager .buttons .button[data-action="next"] {
  background-position: -83px 7px;
}

.Player .metaScore-component.block .pager .buttons .button[data-action="next"].inactive,
.scenario .metaScore-component.block .pager .buttons .button[data-action="next"].inactive {
  background-position: -83px -41px;
}

.Player .metaScore-component.block .pager .buttons .button[data-action="previous"],
.scenario .metaScore-component.block .pager .buttons .button[data-action="previous"] {
  background-position: -38px 7px;
}

.Player .metaScore-component.block .pager .buttons .button[data-action="previous"].inactive,
.scenario .metaScore-component.block .pager .buttons .button[data-action="previous"].inactive {
  background-position: -38px -41px;
}

.Player .metaScore-component.block .pager .buttons .button,
.scenario .metaScore-component.block .pager .buttons .button {
  background-color: #fff;
  background-image: url(/sites/default/files/uploads/guide/assets/o2qj/pager-buttons-1.png);
  background-repeat: no-repeat;
  border-radius: 25px;
  cursor: pointer;
  display: inline-block;
  height: 50px;
  margin: 3px;
  width: 50px;
}

.Player .metaScore-component.block .pager .count,
.scenario .metaScore-component.block .pager .count {
  color: #3a5a8c;
  font-size: 15px;
}

.Player .metaScore-component.block .pager,
.scenario .metaScore-component.block .pager {
  height: 57px;
}

.annot {
  color: red;
  font-size: 0.9rem;
  padding: 0;
}

.annot,
.repere {
  font-weight: bolder;
  margin: 0;
  text-align: center;
}

.annot2 {
  color: #3c3;
  font-weight: bolder;
}

.annot2TL {
  color: #ecf0f1;
  font-size: 1rem;
}

.annot2TL,
.annotTL {
  font-weight: bolder;
  margin: 5px 0 0;
  padding: 0;
  text-align: center;
}

.annotTL {
  color: #fff;
  font-size: 1.1rem;
}

.assoc {
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}

.assoc,
.instr {
  line-height: 1.1em;
}

.background-blue {
  background-color: #273047;
}

.background-blue,
.background-lightgrey {
  height: 100%;
  overflow: hidden;
  width: 100%;
}

.background-brown {
  background-color: #917b64;
  height: 100%;
  overflow: hidden;
  width: 100%;
}

.background-lightgrey {
  background-color: #f2f3ee;
}

.background-red {
  background-color: #cd2453;
}

.background-red,
.background-turquoise {
  height: 100%;
  overflow: hidden;
  width: 100%;
}

.background-turquoise {
  background-color: #0b949b;
}

.blanc,
.partie {
  color: #fff;
  margin: 0;
  text-align: center;
}

.bloc-presentation {
  background: #ededed;
  font-family: open_sansregular;
  min-height: 330px !important;
  padding: 10px 20px 20px !important;
}

.bloc-presentation .date {
  font-size: 10px;
  margin-top: 10px;
}

.bloc-presentation .subtitle {
  font-family: BaskervilleMTPro-Semibold;
  font-size: 16px;
  margin-bottom: 0;
}

.bloc-presentation .txt-mini p {
  font-size: 12px !important;
}

.bloc-presentation h1 {
  box-shadow: inset 0 15px 0 0 #ededed;
  display: inline-block !important;
  font-family: open_sanssemibold;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
  margin-top: 0;
  padding: 4px 5px;
  width: auto;
}

.bloc-presentation h2 {
  font-family: BaskervilleMTPro-Semibold;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 5px;
  margin-top: 5px;
}

.bloc-presentation p,
.moyen {
  font-size: 13px;
}

.bloc-presentation span {
  display: block !important;
}

.blue-background {
  background-color: #273047;
  height: 100%;
  overflow: hidden;
  width: 100%;
}

.bordered {
  border: 1px solid #000;
  font-size: 10px;
  line-height: 110%;
  margin-top: 0;
  padding: 2px;
}

.bordered p {
  font-size: 10px;
  margin: 5px !important;
}

.bordure-la_mer {
  background: #0cc;
}

.bordure-la_mer,
.bordure-le_bateau {
  color: #000;
  display: block !important;
  padding: 2px;
}

.bordure-le_bateau {
  background: #f90;
}

.bordure-le_sultan {
  background: #066;
}

.bordure-le_sultan,
.bordure-sheherazade {
  color: #fff;
  display: block !important;
  padding: 2px;
}

.bordure-sheherazade {
  background: #c06;
}

.bouton {
  font-family: Barlow, sans-serif;
  font-size: 1.41rem;
  font-weight: 700;
  line-height: 0.9rem;
  text-transform: uppercase;
}

.bouton,
.boutonCredits {
  color: #000;
  letter-spacing: 0;
  margin-top: 0;
}

.boutonCredits {
  font-family: Barlow;
  font-size: 1.76rem;
  line-height: 0.9rem;
  text-align: right;
}

.btn {
  bottom: 5px;
  position: absolute;
}

.btn-1 {
  border: 1px solid #212121;
  border-radius: 4px;
  color: #1d1d1d;
  font-family: open_sanssemiBold;
  font-size: 12px;
  margin-right: 30px;
  padding: 4px 8px;
  text-decoration: none;
}

.citeTL {
  color: #fff;
  margin: 5px 0;
}

.citeTL,
.ssAnnotTL {
  padding: 0;
  text-align: center;
}

.color1 {
  background-color: #fff8b4;
  box-shadow: 5px 5px 0 #fffbdc;
}

.color2 {
  background-color: #d2e8d8;
  box-shadow: 5px 5px 0 #e5f2ec;
}

.color3 {
  background-color: #fad6d4;
  box-shadow: 5px 5px 0 #fdedea;
}

.colorA {
  color: #797473;
}

.colorA,
.colorB,
.colorC,
.colorD {
  color: #212121;
}

.colorB {
  color: #b2a9a7;
}

.colorC,
.colorD {
  color: #bababa;
}

.contents {
  overflow: hidden !important;
  color:#000;
  font-size: 1rem;
  font-family: 'SourceSansPro', 'Arial', 'Helvetica', 'sans-serif';
}

.credits {
  font-family: Barlow;
  font-size: 1.6rem;
  line-height: 2.08rem;
}

.encadre {
  border: 1px solid #bababa;
  padding: 5px 15px;
}

.encadre .title-1 {
  font-family: open_sanssemibold;
  font-size: 12px;
  font-weight: 400;
}

.encadre h1 {
  display: inline-block !important;
  font-family: kelson_sansbold;
  font-size: 15px;
  margin-bottom: 0;
  margin-top: 5px;
  width: auto;
}

.extrait {
  color: #fff;
  font-size: 0.72rem;
}

.fond-2a {
  background: #446458;
  color: #fff;
}

.fond-2b {
  background: #9b9238;
  color: #fff;
}

.fond-2c {
  background: #f5c608;
}

.fond-2d {
  background: #dfa929;
}

.fond-mvt1 {
  background: #4b71a0;
  color: #fff;
  padding: 2px 0 2px 10px;
}

.fond-mvt2 {
  background: #9d425a;
  color: #fff;
  padding: 2px 0 2px 10px;
}

.fond-mvt3 {
  background: #6b7043;
  color: #fff;
  padding: 2px 0 2px 10px;
}

.fond-mvt4 {
  background: #9c6752;
  color: #fff;
  padding: 2px 0 2px 10px;
}

.fond-mvt5 {
  background: #365274;
  color: #fff;
  padding: 2px 0 2px 10px;
}

.fond-sonatina {
  background: #064577;
  color: #fff;
  padding: 2px;
}

.gr-title a {
  color: #242424;
  cursor: pointer;
  padding: 5px 0;
  text-decoration: none;
}

.gras {
  font-weight: 300;
}

.gros {
  font-size: 14px;
  font-weight: bolder;
}

.h2Credits {
  font-family: Life Savers;
  font-size: 2.8rem;
  font-weight: 400;
  margin-top: 0;
}

.h2Credits,
a {
  color: #000;
}

.headerCompo {
  color: #7d7d7d;
  font-family: Barlow Semi Condensed, sans-serif;
  font-size: 2rem;
  font-weight: 300;
  margin: 10px 5px 0;
  text-align: right;
}

.headerTitre {
  color: #000;
  font-family: Abril Fatface, cursive;
  font-size: 3rem;
  margin: 0 5px;
}

.instr {
  font-size: 28px;
  font-weight: 700;
}

.jaune {
  color: #ff9a00;
  margin: 0;
}

.large {
  letter-spacing: 1.1px;
}

.legende li {
  font-size: 12px !important;
  margin-bottom: 5px;
}

.lettre {
  font-size: 48px;
  margin: 0;
  padding: 0;
  text-align: center;
}

.lineheight-1000 {
  line-height: 1;
}

.lineheight-1125 {
  line-height: 1.125;
}

.lineheight-1250 {
  line-height: 1.25;
}

.lineheight-1375 {
  line-height: 1.375;
}

.lineheight-1500 {
  line-height: 1.5;
}

.lineheight-1625 {
  line-height: 1.625;
}

.lineheight-1750 {
  line-height: 1.75;
}

.lineheight-1875 {
  line-height: 1.875;
}

.lineheight-2 {
  line-height: 2;
}

.liste-1 li {
  margin-bottom: 10px;
}

.mapolice {
  font-family: Roboto Condensed, sans-serif;
}

.mapolice,
.Mapolice {
  font-family: Mali, cursive;
}

.marron {
  color: #ce6564;
  margin: 0;
}

.marronRose {
  color: #ce2f65;
  margin: 0;
}

.menu {
  padding: 5px;
}

.menu a {
  color: #cc5200;
  text-decoration: none;
}

.metaScore-Player .metaScore-component.controller .buttons button[data-action="play"] {
  left: 26px;
  top: 0;
}

.metaScore-Player .metaScore-component.controller .buttons button[data-action="rewind"] {
  left: 13px;
  top: 17px;
}

.metaScore-Player .metaScore-component.block-toggler .buttons .button,
.metaScore-player .metaScore-component.block-toggler .buttons .button {
  margin: 1px 2px;
}

.metaScore-Player .metaScore-component.controller {
  background-color: transparent;
  font-size: 11px;
  font-weight: 700;
  height: 90px;
  width: 80px;
}

.metaScore-Player .metaScore-component.controller .buttons button {
  background-color: transparent;
  background-image: url(/sites/default/files/uploads/guide/assets/lY5g/controller-buttons.png);
  background-repeat: no-repeat;
  border: none;
  opacity: 1;
  outline: none;
  position: absolute;
  transition: none;
}

.metaScore-Player .metaScore-component.controller .timer {
  background-color: transparent;
  color: #7d1248;
  cursor: default;
  line-height: 30px;
  text-align: center;
}

.metaScore-Player .metaScore-component.controller:after {
  bottom: 0;
}

.metaScore-component.block .pager {
  top: -20px;
}

.metaScore-component.block[data-name="permanentText"] .element[data-name="text 0"] .contents h1 {
  font-size: 13px;
  font-weight: 400;
  line-height: 15px;
  text-align: left;
}

.metaScore-component.block[data-name="timeLine"] {
  background-color: #ccc;
  border: none;
  margin-top: -33px;
  padding-bottom: 8px;
  padding-right: 10px;
  padding-top: 30px;
}

.metaScore-component.block[data-name="timeLine"] .element[data-name="title"] .contents h1 {
  font-size: 13px;
  font-weight: bolder;
  line-height: 30px;
  text-align: center;
}

.metaScore-component.block[data-name="timeLine"] .element[data-name="title"] .contents h1 span {
  font-size: 16px;
  font-style: italic;
  font-weight: bolder;
}

.metaScore-component.block[data-name="timeLine"] .element[data-name="title"] .contents,
.metaScore-player .metaScore-component.element.Content .contents,
.metaScore-player .metaScore-component.element .contents {
  padding: 0;
}

.metaScore-component.block[data-name="timeLine"] .pager {
  background: url(sites/default/modules/metascore/modules/metascore_guide/includes/timeline-top.png)
  no-repeat 0 100%;
  display: block !important;
  height: 30px;
  z-index: -1;
}

.metaScore-component.block[data-name="timeLine"] .pages {
  height: 102px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.metaScore-component.block[data-name="timeLine"],
.metaScore-component.block[data-name="timeLine"] .pager {
  -moz-border-radius-bottomleft: 0;
  -moz-border-radius-topleft: 0;
  -webkit-border-bottom-left-radius: 0;
  -webkit-border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.metaScore-component.controller {
  -moz-border-radius-bottomright: 0;
  -moz-border-radius-topright: 0;
  -webkit-border-bottom-right-radius: 0;
  -webkit-border-top-right-radius: 0;
  background-image: url(/sites/default/files/uploads/guide/assets/3M/timeline-bottom.png);
  background-position: center 85px;
  background-repeat: no-repeat;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  display: none !important;
  height: 102px;
  width: 73px;
}

.metaScore-component.controller .buttons button[data-action="play"] {
  left: 20px;
}

.metaScore-component.controller .buttons button[data-action="rewind"] {
  left: 5px;
}

.metaScore-component.element .contents,
.metaScore-component.element .contents a {
  color: #212529;
  font-family: Source Sans Pro, sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.5;
}

.metaScore-component.element.Content .contents {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  padding: 0 10px 10px;
}

.metaScore-component.element.Content .contents * {
  font-family: SourceSansPro-Regular, Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 100%;
  margin: 0;
  padding: 0;
}

.metaScore-component.element.Content .contents p {
  margin: 11px 0;
}

.metaScore-player .metaScore-component.block-toggler .buttons .button svg rect.current {
  fill: #064577;
  opacity: 1;
}

.metaScore-player .metaScore-component.controller .buttons button[data-action="play"] {
  background-position: -47px 0;
  height: 43px;
  left: 15px;
  top: 1px;
  width: 43px;
}

.metaScore-player .metaScore-component.controller .buttons button[data-action="rewind"] {
  background-position: -16px -17px;
  display: none !important;
  height: 11px;
  left: 3px;
  top: 18px;
  width: 10px;
}

.metaScore-player .metaScore-component.block{
  line-height: 120%;
}

.metaScore-player .metaScore-component.block .pager .buttons .button {
  background-image: url(/sites/default/files/uploads/guide/assets/BQW/pager-buttons.png);
}

.metaScore-player .metaScore-component.block-toggler .buttons .button svg {
  height: 100%;
  width: 90%;
}

.metaScore-player .metaScore-component.block-toggler .buttons .button svg rect {
  fill: #f1bc0d;
  opacity: 0.4;
}

.metaScore-player .metaScore-component.block:hover .pager,
.metaScore-Player--3KyO8 .metaScore-component.block:hover .pager {
  display: none;
}

.metaScore-player .metaScore-component.controller {
  background-clip: padding-box;
  background-color: transparent;
  color: #ddd;
  display: none !important;
  font-size: 11px;
  font-weight: 700;
  height: 45px;
  overflow: hidden;
  text-color: #ddd;
  width: 57px;
}

.metaScore-player .metaScore-component.controller .buttons button {
  background-color: transparent;
  background-image: url(/sites/default/files/uploads/guide/assets/OPg/controller-buttons-custom-65.png);
  background-repeat: no-repeat;
  border: none;
  opacity: 1;
  outline: none;
  position: absolute;
  transition: none;
}

.metaScore-player .metaScore-component.controller .timer {
  background-color: transparent;
  color: #7d1248;
  cursor: default;
  display: none !important;
  line-height: 30px;
  text-align: center;
}

.metaScore-player .metaScore-component.controller:after {
  background-image: none;
  bottom: 0;
}

.motif-a1 {
  color: #3365c1;
  font-size: 14px;
}

.motif-a2 {
  color: #8000ff;
  font-size: 14px;
}

.motif-b1 {
  color: #a00;
  font-size: 14px;
}

.motif-b2 {
  color: #dc4600;
  font-size: 14px;
}

.mvt1 {
  color: #4b71a0;
}

.mvt2 {
  color: #9d425a;
}

.mvt3 {
  color: #6b7043;
}

.mvt4 {
  color: #9c6752;
}

.mvt5 {
  color: #365274;
}

.nav {
  list-style-type: none;
  margin-left: 0;
  margin-top: 20px;
  padding-left: 0;
}

.navD {
  float: right;
}

.navG {
  float: left;
}

.nomOeuvre {
  font-size: 3rem;
  font-style: italic;
  font-weight: 400;
}

.nomOeuvre,
.sTitre {
  color: #000;
  font-family: Barlow Semi Condensed, sans-serif;
  line-height: 2.9rem;
}

.nonsouligne {
  text-decoration: none;
}

.notes {
  font-color: grey;
  font-weight: bolder;
}

.notes-rouge {
  color: #c33;
  font-weight: bolder;
}

.notes-vert {
  color: #275a51;
  font-weight: bolder;
}

.pClic {
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
}

.pClic,
.pConsigneGros a {
  color: #fff;
}

.pConsigne {
  font-weight: 100;
}

.pConsigne,
.pConsigneGros {
  color: #424242;
  text-transform: uppercase;
}

.pConsigneGros {
  font-size: 1.9rem;
  font-weight: 900;
}

.pConsigneGros a {
  color: #424242;
}

.pMenu {
  font-weight: 100;
  text-align: center;
  text-transform: uppercase;
}

.pMenu,
.pMenu a {
  color: #ffc200;
}

.partie {
  font-size: 14px;
  font-weight: bolder;
  text-transform: uppercase;
}

.presentation {
  color: #000;
  margin: 30px 40px;
}

.presentation h1 {
  background: #dbd8d8;
  box-shadow: inset 0 22px 0 0 #fff;
  display: inline-block !important;
  font-size: 32px;
}

.presentation h1,
.presentation h3 {
  font-family: BaskervilleMTPro-Semibold;
  font-weight: 400;
  margin-bottom: 5px;
  margin-top: 5px;
}

.presentation h3 {
  display: block !important;
  font-size: 16px;
}

.presentation p {
  font-size: 11px;
  font-style: italic;
  margin-top: 30px;
}

.repere {
  color: #fff;
  font-size: 1.1rem;
  padding: 5px;
}

.retrait {
  margin-left: 50px;
}

.rondCouleur {
  font-size: 1.1rem;
}

.rose {
  color: #ff0064;
  margin: 0;
}

.sTitre {
  font-size: 2.4rem;
}

.serre {
  letter-spacing: -0.5px;
}

/*pour centrer des images (schemas, etc.) dans une page */
.imgCenter {
  margin-bottom:0;
  text-align:center;
}

/*pour aligner un paragraphe sur l'angle bas droite de page*/
p.BasPageRight {
  margin-top: 0px;
  right: 10px;
  position: absolute;
  bottom: 6px;
}

/*  Est-ce encore utile ?   notes de bas de page en... bas de page  */
.smallTextBasPage {
  font-size: 10px;
  margin-top: 0px;
  position: absolute;
  bottom: 6px;
  line-height: 110% !important;
  padding-right: 10px
}

.basPage {
  margin-top: 0px;
  position: absolute;
  bottom: 6px;
}

.smallText,
.smallText p {
  font-size: 10px;
  line-height: 100%;
  padding-right: 10px
}

.smallText span{
  font-style: italic;
}

.ssAnnotTL {
  color: #2c3e50;
  margin-top: 2px;
}

.text-darkblue {
  color: #273047;
}

.text-darkgrey {
  color: #555;
}

.text-light {
  color: #f2f3ee;
}

.text-turquoise,
.text-blue {
  color: #0b949b;
}

.texte,
.petit,
h2,
p {
  font-size: 12px;
}

.title-1 {
  color: #000;
  display: inline-block !important;
  font-family: kelson_sansbold;
  text-transform:weight;
  font-size: 12px;
  margin-bottom: 0;
  margin-top: 0;
  padding: 4px 5px;
  width: auto;
}

.title-2 {
  font-family: kelson_sansbold;
  font-size: 20px;
}

.title-3 {
  color: #034766;
  font-family: kelson_sansbold;
  font-size: 0.7rem;
  margin: 0 0 0 5px;
  text-transform: uppercase;
}

.titre {
  color: #fff;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

.titre,
p {
  font-family: Averia Libre, cursive;
}

.titre_0 {
  background: #fff;
  color: #242424;
  font-family: open_sanssemibold;
  font-size: 10px;
  font-style: italic;
  margin: 0 5px;
  padding: 5px 0;
}

.tps {
  color: #212121;
  font-family: open_sanssemibold;
}

.underline:hover {
  text-decoration: underline;
}

.xpage a {
  color: #212121;
  font-family: open_sanssemibold;
  font-size: 12px;
  text-decoration: none;
}

.credits ul {
    list-style-type: none !important;
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 20px
}

.credits li {
    margin-bottom: 12px;
}

a {
  color: #1d89db;
  display: block;
  text-decoration: none;
}

a img:hover {
  border: 1px solid blue;
}

a,
a:active,
a:focus {
  color: #1d89db;
  text-decoration: none;
}

a,
a:active,
a:hover,
a:visited {
  color: #000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a.fabouton {
  color: red;
  font-size: 24px;
  text-decoration: none;
}

a.fabouton:hover {
  color: #f0f;
  text-decoration: none;
}

a.retour {
  background: #000;
  color: #fff !important;
  padding: 5px;
  text-decoration: none;
}

a.retour:active,
a.retour:hover {
  background: #ccc;
  color: #000 !important;
  cursor: pointer;
  text-decoration: underline;
}

a.toto {
  background-color: #ff0;
  text-decoration: none;
}

a.toto:hover {
  background-color: red;
  color: #fff;
}

a:active,
a:focus,
a:hover,
a:link,
a:visited,
.title-1 a {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: blue;
  text-decoration: none;
}

body {
  color: #000;
  font-size: 100%;
  text-align: justify;
  word-break: normal;
}

body,
html {
  font-size: 100%;
}

div,
.fira {
  font-family: Fira Sans, Arial, Helvetica, sans-serif;
}

div.bordered {
  bottom: 6px;
  margin-top: 0;
  position: absolute;
  width: 300px;
}

em,
i,
span.italic,
.smallText span {
  font-style: italic;
}

h1, h2, h6, p {
  font-family: verdana, Arial, sans-serif;
}

h1 {
  background-color: #000;
  color: #000;
  font-family: Abril Fatface, cursive;
  font-size: 9rem;
  font-weight: bolder;
  line-height: 55%;
  margin: 0.5px;
  text-align: center;
}

h1 a:active,
h1 a:focus,
h1 a:hover,
h1 a:link,
h1 a:visited {
  color: #fff;
  text-decoration: none;
}

h1,
h2 {
  color: #273047;
  font-family: LinotypeBrewery-Bold, serif;
  text-transform: uppercase;
}

h1,
h2,
ol,
p,
ul {
  padding: 0 10px;
}

h2 {
  border-style: solid;
  border-width: 5px;
  font-family: verdana, Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: bolder;
  line-height: 120%;
  margin: 0 0 10px;
  vertical-align: middle;
}

h2,
h3 {
  color: #000;
  font-stretch: expanded;
  text-align: right;
}

h2,
h3,
h4 {
  color: #fa968c;
  font-weight: 600;
}

h2.fond-2a,
h2.fond-2b,
h2.fond-2c,
h2.fond-2d {
  padding: 2px;
}

h3 {
  font-size: 1.5rem;
  font-weight: bolder;
  margin: 0;
  text-transform: capitalize;
}

h3,
h4,
h5 {
  font-size: 12px;
  font-weight: bolder;
}

h4 {
  color: #000;
  font-size: 125%;
  font-weight: 700;
  text-align: left;
}

h4, h6 {
    font-size: 11px;
    font-weight: normal;
    line-height: 120%;
}

h5 {
  font-size: 300%;
  text-align: center;
  text-transform: capitalize;
}

h5,
h6 {
  color: #000;
  font-family: Montserrat, sans-serif;
  font-stretch: expanded;
  font-weight: 900;
  text-align: right;
}

h6 {
  font-size: 320%;
  font-weight: bolder;
  line-height: 120%;
  text-transform: uppercase;
}

html {
  font-size: 62.5%;
}

img {
  border: 1px solid #000;
}

img a {
    border:0px;
}

li {
  color: #c0392b;
  font-size: 16px;
  line-height: 20px;
  margin: 0.31rem 0 0.68rem;
}

li span {
  color: #000;
  font-size: 1.4rem;
  font-weight: 400;
}

li span,
ul li ul li {
  font-size: 0.9rem;
}

mapolice {
  font-family: Open Sans, sans-serif;
}

metaScore-component.controller,
.metaScore-component.block[data-name="timeLine"] .buttons,
.metaScore-component.block[data-name="timeLine"] .count,
#component-skT9DnAzD2 .pager,
.pager {
  display: none !important;
}

metaScore-component.controller:after {
  background-image: none;
}

ol {
  font-weight: bold;
  padding-left: 22px;
  list-style: upper-roman;
  list-style-type: decimal;
  margin-bottom: 0;
  margin-left: 20px !important;
}

ol ol {
  list-style-type: none;
  font-weight: normal;
  /*text-indent:-20px;*/
  text-indent:-1.2em;
}

ol li ol {
  list-style: decimal;
}

ol li ol li,
ol li ul li {
  font-weight: 400 !important;
}

ol li ul {
  list-style-type: none;
  margin-left: -10px;
}

ol li,
.moyen,
.petit {
  font-weight: bolder;
}

ol,
ul {
  margin: 5px 0;
}

ol.roman {
    list-style: upper-roman;
}

ol.decimal {
    list-style: decimal;
}

ol.lower-alpha {
    list-style: lower-alpha;
}

p {
  color: #333;
  font-family: SourceSansPro-Regular, Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 100;
  letter-spacing: 0.1rem;
  line-height: 1.26em;
  margin: 6px 0 6px 10px;
  padding: 10px 0 0 10px;
  text-align: center;
}

/* pour eviter l'espace entre un <p> et la liste qui suit */
p + ul,
p + ol {
    margin-top: -5px;
}

p.align-right {
  text-align: right;
}

p.annot-2a {
  color: #446458;
}

p.annot-2a,
p.annot-sonatina,
p.annot-2b,
p.annot-2c {
  font-size: 12px;
  font-weight: bolder;
  line-height: 110%;
  margin: 0 8px 0 0;
  padding: 2px;
}

p.annot-2b {
  color: #746f0c;
}

p.annot-2c {
  background-color: #5e5e5e;
  color: #f1bc0d;
}

p.annot-2d {
  background-color: #eee;
  color: #92631a;
  font-size: 12px;
  font-weight: bolder;
  line-height: 110%;
  margin: 0 8px 0 0;
  padding: 2px;
}

p.annot-sonatina {
  color: #036;
}

p.bordered {
  border: 1px solid #000;
  font-size: 10px;
  padding: 2px;
}

p.center {
  text-align: center;
}

p.interligne {
  line-height: 20px;
}

sadf span,
span {
  font-family: Source Sans Pro, sans-serif;
  font-size: 12pt;
  font-style: normal;
}

span.regular {
  font-weight: 400;
}

strong,
span {
  color: red;
}

table, th {
    border: 1px solid #ccc;
    border-collapse: collapse;
    text-align: center;
}

td {
    border: 1px solid #ccc;
    border-collapse: collapse;
    vertical-align: text-top;
}

table#small,
table#smallLeft td {
  font-size: 10px;
  line-height: 110% !important;
}

table#smallLeft td,
#t3,
#t4 {
  text-align: left;
}

to {
  -moz-transform: rotate(-1turn);
  -webkit-transform: rotate(-1turn);
  left: 0;
  transform: rotate(-1turn);
}

ul {
  font-size: 16px;
  line-height: 20px;
  list-style-type: disc !important;
  margin-left: 15px !important;
  margin-top: 20px;
  padding-left: 0;
}

ul li ul {
  padding-left: 0;
}

ul li ul li {
  color: #000;
  font-size: 1.4rem;
  font-weight: 700;
}

ul ul li {
  margin-left: 30px;
}

ul:first-child > li:nth-child(5) > ul:nth-child(1) > li:nth-child(1) {
  margin-bottom: 0;
}

blockquote {
  font-style: italic
}
blockquote::before {
  content: "\00AB\00A0";
  font-style: normal;
}
blockquote:after {
  content: "\00A0\00BB";
  font-style: normal;
}
blockquote em {
  font-style: normal;
}

blockquote cite {
  font-style: normal;
}

cite {
  font-style: italic;
}

em cite {
  font-style: normal;
}

q cite {
  font-style: normal;
}

q {
  font-style: italic;
}
q::before {
  content: "\00AB\00A0";
  font-style: normal;
}
q::after {
  content: "\00A0\00BB";
  font-style: normal;
}

q em {
  font-style: normal;
}

sup {
    line-height: 0;
    vertical-align: super;
}

/*pour les rectangles de couleur qui servent de legende au milieu d'un texte*/
.middle{
    vertical-align: middle;
}
LouisMG commented 2 years ago

Après avoir fait un point avec @afborneuf, voici un résumé des utilisations du custom css sur metascore avec des exemples associés :

Affichage du contrôleur

.metaScore-component.controller {
  display: none !important;
}

Marges du bloc contenu

.metaScore-component.element.Content .contents * {
  margin: 0;
  padding: 0;
}

Polices de caractères

@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed');

Comportement des liens

a {
  color: #1d89db;
  text-decoration: none;
}
a:focus,
a:hover,
a:visited {
  color: #e00000;
  text-decoration: none;
}

Mise en page des paragraphes

p {
  color: #333;
  font-family: SourceSansPro-Regular, Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 100;
  letter-spacing: 0.1rem;
  line-height: 1.26em;
  margin: 10px 0 5px;
  background: #ccc;
  padding: 10px 0 0 10px;
  text-align: center;
  word-break: normal;
}
ol li ol,
ol.decimal {
  list-style: decimal;
}

Suppression de la scrollbar

.contents {
  overflow: hidden;
}

Bordure et ombre

#parcours_simple {
  background-color: #ccc;
  border-bottom: 4px solid #ccc;
  border-left: 8px solid #ccc;
  border-radius: 12px;
  border-right: 8px solid #ccc;
  border-top: 2px solid #ccc;
  box-shadow: 0.5px 1.5px 1px #666;
  display: inline-block !important;
  float: right;
  padding: 2px;
  text-align: center;
  vertical-align: middle;
  height: 100%;
  width: 100%;
}

Citation

blockquote::*before*,q::*before* {
  content: '\00AB\FEFF';
  font-style: normal;
}

blockquote:*after*,q::*after* {
  content: '\FEFF\00BB';
  font-style: normal;
}

Navigation entre pages

.pager .buttons .button {
  background-color: #fff;
  background-image: url(/sites/default/files/uploads/guide/assets/o2qj/pager-buttons-1.png);
  background-repeat: no-repeat;
  border-radius: 25px;
  cursor: pointer;
  display: inline-block;
  height: 50px;
  margin: 3px;
  width: 50px;
}

bouton Play personnalisé

.pager .buttons .button[data-action='first'] {
  background-position: 12px 7px;
}
semiaddict commented 2 years ago

Voici quelques exemples d'outils qui intègrent un gestionnaire de style :

semiaddict commented 2 years ago

Voici, comme convenu, un nouvel export de la base: css-db-export--20220630.xls

Je compte 180 guides publiés avec de la CSS, dons 119 avec des imports de fichiers externes (en orange).

Attention. les données sont groupées par la valeur du champ CSS, donc plusieurs guides peuvent appartenir à une seule ligne. Le nombre des guides par ligne est disponible dans la colonne Nombre