MediaWiki:Common.css: Różnice pomiędzy wersjami


m
 
(Nie pokazano 8 wersji utworzonych przez 2 użytkowników)
Linia 78: Linia 78:
margin: 0 0 0 1em;
margin: 0 0 0 1em;
width: 25%;
width: 25%;
}
@keyframes flickerAnimation {
0% {
opacity: 1
}
40% {
    opacity: 0.95
}
50% {
opacity: 0
}
60% {
opacity: 0.95
}
100% {
opacity: 1
}
}
.animate-flicker {
animation: flickerAnimation 2.0s infinite
}
h3, h4, h5, h6 {
  border-bottom: none;
  padding-bottom: 0;
}
@media (max-width: 500px) {
  .UserNavigation .UserNavigationWordmark {
    display: none;
  }
  .CommunityHeader .WikiWordmark {
    display: none;
  }
  .CommunityHeaderStats {
    display: none;
  }
  .WikiPageHeader {
    flex-direction: column;
  }
  .WikiPageHeader > .WikiPageHeaderMain {
    display: flex;
    width: 100%;
    margin-bottom: 30px;
  }
  .WikiPageHeaderContribution .wds-secondary {
    display: none;
  }
  .WikiArticle table {
    width: 100% !important;
  }
  .FooterIcons {
    display: none !important;
  }
  .WikiRail {
    margin-top: 30px;
  }
  .WikiArticle .thumb {
    width: 100%;
  }
  .WikiArticle .thumb .thumbinner {
    margin: auto;
  }
  .WikiArticle .toc {
    margin-top: 15px;
    margin-bottom: 15px;
  }
}
}

Aktualna wersja na dzień 18:47, 30 wrz 2023

/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {     /* The message body cell(s) */
	border: none;
	padding: 0.25em 0.9em;       /* 0.9em left/right */
	width: 100%;    /* Make all mboxes the same width regardless of text length */
}

td.mbox-image {                  /* The left image cell */
	border: none;
	padding: 2px 0 2px 0.9em;    /* 0.9em left, 0 right */
	text-align: center;
}

td.mbox-imageright {             /* The right image cell */
	border: none;
	padding: 2px 0.9em 2px 0;    /* 0 left, 0.9em right */
	text-align: center;
}

td.mbox-empty-cell {         /* An empty narrow cell */
	border: none;
	padding: 0;
	width: 1px;
}

/* Article message box template styles */
table.ambox {
	margin: 0 10%;                         /* Will not overlap with other elements */
	border-collapse: collapse;
	background-color: #fbfbfb !important;
	border: 1px solid #a2a9b1;
	border-left: 10px solid #36c;       /* Default "notice" blue */
}

table.ambox th.ambox-text, table.ambox td.ambox-text {      /* The message body cell(s) */
	padding: 1em 0.5em;              /* 0.5em left/right */
	width: 100%;                        /* Make all templates the same width regardless of text size */
}

table.ambox td.ambox-image {          /* The left image cell */
	padding: 2px 0 2px 0.5em;         /* 0.5em left, 0 right */
	text-align: center;
}

table.ambox td.ambox-imageright {     /* The right image cell */
	padding: 2px 4px 2px 0;           /* 0 left, 4px right */
	text-align: center;
}

table.ambox-notice {
	border-left: 10px solid #36c;       /* Blue */
}

table.ambox-delete,
table.ambox-serious {
	border-left: 10px solid #d33;       /* Red */
}

table.ambox-content {
	border-left: 10px solid #f28500;       /* Orange */
}

table.ambox-style {
	border-left: 10px solid #f4c430;       /* Yellow */
}

table.ambox-merge {
	border-left: 10px solid #9932cc;       /* Purple */
}

table.ambox-protection {
	border-left: 10px solid #bba;          /* Gray */
}

table.ambox.ambox-mini {                 /* small floating box variant */
	float: right;
	clear: right;
	margin: 0 0 0 1em;
	width: 25%;
}

@keyframes flickerAnimation {
	0% {
		opacity: 1
	}
	40% {
    	opacity: 0.95
	}
 	50% {
		opacity: 0
	}
	60% {
		opacity: 0.95
	}
	100% {
		opacity: 1
	}
}

.animate-flicker {
 animation: flickerAnimation 2.0s infinite
}

h3, h4, h5, h6 {
  border-bottom: none;
  padding-bottom: 0;
}


@media (max-width: 500px) {
  .UserNavigation .UserNavigationWordmark {
    display: none;
  }

  .CommunityHeader .WikiWordmark {
    display: none;
  }

  .CommunityHeaderStats {
    display: none;
  }

  .WikiPageHeader {
    flex-direction: column;
  }

  .WikiPageHeader > .WikiPageHeaderMain {
    display: flex;
    width: 100%;
    margin-bottom: 30px;
  }

  .WikiPageHeaderContribution .wds-secondary {
    display: none;
  }

  .WikiArticle table {
    width: 100% !important;
  }

  .FooterIcons {
    display: none !important;
  }

  .WikiRail {
    margin-top: 30px;
  }

  .WikiArticle .thumb {
    width: 100%;
  }

  .WikiArticle .thumb .thumbinner {
    margin: auto;
  }

  .WikiArticle .toc {
    margin-top: 15px;
    margin-bottom: 15px;
  }
}