MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Vetopedia
Wechseln zu: Navigation, Suche
Zeile 500: Zeile 500:
  
 
.vetopedia-color-white {
 
.vetopedia-color-white {
color: #fff !important;
+
color: #fff;
 +
}
 +
 
 +
.vetopedia-color-black {
 +
color: #000;
 
}
 
}
  

Version vom 6. September 2019, 20:04 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* */
/* body.page-Vetopedia_-_Die_freie_Enzyklopädie_der_Gegenstimmen h1.firstHeading { display: none; } */
/* body.page-Vetopedia_-_Die_freie_Enzyklopädie_der_Gegenstimmen div#contentSub { display: none; } */
.mainbanner { width:100% !important; height:auto !important; }

#ca-talk { display:none!important; }
#pt-mytalk { display:none!important; }
#ca-history { display:none!important; }



/* ******** */
/* Timeline */
/* ******** */

.timeline{
  --uiTimelineMainColor: var(--timelineMainColor, #222);
  --uiTimelineSecondaryColor: var(--timelineSecondaryColor, #fff);

  position: relative;
  padding-top: 1rem;
  padding-bottom: 0.2rem;
}

.timeline:before{
  content: "";
  width: 4px;
  height: 100%;
  background-color: var(--uiTimelineMainColor);

  position: absolute;
  top: 0;
}

.timeline__group{
  position: relative;
}

.timeline__group:not(:first-of-type){
  margin-top: 4rem;
}

.timeline__year{
  padding: .5rem 1.5rem;
  color: var(--uiTimelineSecondaryColor);
  background-color: var(--uiTimelineMainColor);

  position: absolute;
  left: 0;
  top: 0;
}

.timeline__year .timeline__year__number{
    font-size: 120%;
    font-weight: bold;
    padding-right: 7px;
}

.timeline__box{
  position: relative;
}

.timeline__box:not(:last-of-type){
  margin-bottom: 10px;
}

.timeline__box:before{
  content: "";
  width: 100%;
  height: 2px;
  background-color: var(--uiTimelineMainColor);

  position: absolute;
  left: 0;
  z-index: -1;
}

.timeline__date{
  min-width: 65px;
  position: absolute;
  left: 0;

  box-sizing: border-box;
  padding: .5rem 1.5rem;
  text-align: center;

  background-color: var(--uiTimelineMainColor);
  color: var(--uiTimelineSecondaryColor);
  
  /* Hide element */
  display: none;
}

.timeline__day{
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.timeline__month{
  display: block;
  font-size: .8em;
  text-transform: uppercase;
}

.timeline__post{
  padding: 0.8rem 2rem;
  margin-top: 10px;
  margin-bottom: 20px;
  border-radius: 2px;
  border-left: 3px solid var(--uiTimelineMainColor);
/*  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .12), 0 1px 2px 0 rgba(0, 0, 0, .24); */
  box-shadow: 1px 3px 18px 4px rgba(0, 0, 0, 0.21), 0 1px 2px 0 rgba(0,0,0,.24);
  background-color: var(--uiTimelineSecondaryColor);
}

a.timeline__box__link:hover {
    text-decoration: none;
} 

a.timeline__box__link:hover h2 {
    text-decoration: underline;
} 

.timeline__content h2{
	margin-top: 0px;
    border-bottom: none;
    font-weight: bold;
    color: #604d8d;
    display: inline;
}

.timeline__content hr{
	height: 0px;
	margin-top: 5px;
}

.timeline__box__type{
  background: #ABCE6B;
  color: #000;
  padding: 2px 5px;
  display: inline-block;
  margin-bottom: 4px;
  font-size: 81%;
  font-weight:bold;
}

.timeline__box__type__arrow {
    width: 30px;
    vertical-align: top;
    margin-top: -4px; /* To reset topspacing of title. That is made with this element .timeline__box__type */
}

.timeline__tag{
	padding: 0px 5px;
	margin-bottom: 5px;
	color: #ffffff;
	display: inline-block;
}

.timeline__tag_label{
	color: #000000;
	font-style: italic;
	font-size: 90%;
}

.timeline__tag__type__media_online{
	background-color: #a91314;
}

.timeline__tag__type__media_print{
	background-color: #774c22;
}

.timeline__tag__type__media_agency{
	background-color: #2f3293;
}

.timeline__tag__type__media_radio{
	background-color: green;
}

.timeline__tag__type__media_justblack{
	background-color: #000;
}

.timeline__tag__type__media_general{
	background-color: #d9e8f9;
	color: #000;
}

@media screen and (min-width: 641px){

  .timeline:before{
    left: 30px;
  }

  .timeline__group{
    padding-top: 55px;
  }

  .timeline__box{
    padding-left: 80px;
  }

  .timeline__box:before{
    top: 50%;
    transform: translateY(-50%);  
    
    /* Hide line*/
    display: none;
  }  

  .timeline__date{
    top: 50%;
    margin-top: -27px;
  }
}

@media screen and (max-width: 640px){

  .timeline:before{
    left: 0;
  }

  .timeline__group{
    padding-top: 40px;
  }

  .timeline__box{
    padding-left: 20px;
    padding-top: 70px;
  }

  .timeline__box:before{
    top: 90px;
  }    

  .timeline__date{
    top: 0;
  }
}

.timeline{
  --timelineMainColor: #604d8d;
  font-size: 16px;
}

/*@media screen and (min-width: 768px){

  html{
    font-size: 62.5%;
  }
}

@media screen and (max-width: 767px){

  html{
    font-size: 55%;
  }
}*/

/*
* demo page
*/

/*@media screen and (min-width: 768px){

  html{
    font-size: 62.5%;
  }
}

@media screen and (max-width: 767px){

  html{
    font-size: 50%;
  }
}*/

/*body{
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Open Sans, Ubuntu, Fira Sans, Helvetica Neue, sans-serif;
  font-size: 1.6rem;
  color: #222;

  background-color: #f0f0f0;
  margin: 0;
  -webkit-overflow-scrolling: touch;   
  overflow-y: scroll;
}*/

p{
  margin-top: 0;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

p:last-child{
  margin-bottom: 0;
}

.page{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.page__demo{
  flex-grow: 1;
}

.main-container{
  max-width: 960px;
  padding-left: 2rem;
  padding-right: 2rem;

  /*margin-left: auto;
  margin-right: auto;*/
}

.page__container{
  padding-top: 30px;
  padding-bottom: 30px;
  max-width: 850px;
}

.footer{
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: center;  
  font-size: 1.4rem;
}

.footer__link{
  text-decoration: none;
  color: inherit;
}

@media screen and (min-width: 361px){

  .footer__container{
    display: flex;
    justify-content: space-between;
  }
}

@media screen and (max-width: 360px){

  .melnik909{
    display: none;
  } 
}

/* +++++ 3. [[Wikipedia:Hauptseite|HAUPTSEITE]] +++++ */

/*
 * Überschrift, Weiterleitungshinweis, Kategorie und Schwesterprojektverweise
 * auf der Hauptseite verbergen
 * Nicht in allen Skins vollständig wirksam; vgl. [[MediaWiki:Cologneblue.css]]
 */
.action-view.page-Wikipedia_Hauptseite h1.firstHeading,
.action-view.page-Wikipedia_Hauptseite #contentSub,
.action-view.page-Wikipedia_Hauptseite #catlinks,
.page-Wikipedia_Hauptseite #p-wikibase-otherprojects { 
	display: none;
}

/* [[Wikipedia Diskussion:Meinungsbilder/Neue Hauptseite/V5-2-css]], 2006 */
#hauptseite h2 {
	background: #d8e8ff;
	border: 1px solid #8898bf;
	font-family: inherit; /* [[mw:Typography refresh]] */
	font-size: 1em;
	font-weight: bold;
	line-height: 1.5; /* [[mw:Typography refresh]] */
	margin: 0;
	padding: .1em 0;
}
#hauptseite .inhalt {
	background: #fff;
	border: 1px solid #8898bf;
	border-top: 0;
	min-height: 0; /* IE 7 */
	padding: .3em .8em .4em;
}
#hauptseite .inhalt hr {
	background: #8898bf;
	color: #8898bf; /* IE 7 */
	height: 1px;
	margin: .5em 0;
}
#hauptseite .inhalt .mehr {
	clear: both;
	font-size: 95%;
	margin-top: .8em;
	text-align: right;
}
.hauptseite-oben,
.hauptseite-links,
.hauptseite-rechts {
	margin-bottom: 1em;
}
.hauptseite-links {
	margin-right: .5em;
}
.hauptseite-rechts {
	margin-left: .5em;
}
.hauptseite-oben h2,
.hauptseite-unten h2 {
	text-align: center;
}
.hauptseite-oben .inhalt .portale {
	font-weight: bold;
	margin: .2em 0;
}
.hauptseite-oben .inhalt .intern {
	font-size: 90%;
	text-align: center;
}
.hauptseite-links h2,
.hauptseite-rechts h2 {
	text-indent: .8em;
}
#hauptseite-schwesterprojekte .inhalt a {
	font-weight: bold;
}





/* "Willkommen bei Vetopedia"-Boxen */

.vetopedia-box-container {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    margin: 0 -17px !important;
    width: 1500px !important;
    max-width: 100% !important;
}

.vetopedia-box-container > div {
    flex: 1 0 390px !important;
    margin: 17px 17px 0 17px !important;
    padding: 5px !important;
    box-sizing: border-box !important;
}

.vetopedia-box-head {
    background-color: #fff;
    margin: 0;
    padding: 7px;
    text-align: center;
}

.vetopedia-box-head h2 {
    margin: 0 0 .1em 0;
    font-size: 4em;
    font-weight: 400;
    font-family: 'Linux Libertine', 'Georgia','Times', serif;
    line-height: 1em;
}

.vetopedia-box-head span {
    font-size: 1.25em;
}

.vetopedia-box-head h3 {
    margin: 0;
    font-size: 1.75em;
    font-family: 'Linux Libertine', 'Georgia','Times', serif;
    line-height: 1.3em;
}

.vetopedia-box-001 {
    background-color: #604f8b;
}

.vetopedia-box-002 {
    background-color: #cf5959;
}

.vetopedia-box-003 {
    background-color: #a0d4f5;
}

.vetopedia-box-body {
    padding: 15px;
}

.vetopedia-box-body h4 {
    margin: 0;
    font-size: 1.75em;
    font-family: 'Linux Libertine', 'Georgia','Times', serif;
}

.vetopedia-color-white {
	color: #fff;
}

.vetopedia-color-black {
	color: #000;
}

.vetopedia-box-body hr {
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: #fff;
}

.vetopedia-box-body p {
    margin: 0;
    font-size: 1.25em;
    font-family: 'Linux Libertine', 'Georgia','Times', serif;
}

.vetopedia-box-footer {
    margin: 0;
    padding: 7px;
    text-align: center;
}