User:OwenBlacker/common.css

From Wikisource
Jump to navigation Jump to search
Note: After saving, changes may not occur immediately. Click here to learn how to bypass your browser's cache.
  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Cmd-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (Cmd-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences

For details and instructions about other browsers, see Wikipedia:Bypass your cache.

@import url(https://fonts.googleapis.com/css?family=Gentium+Basic:400,700,400italic,700italic&subset=latin,latin-ext);
@import url(https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,600;1,7..72,400;1,7..72,600&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400;1,8..60,600&display=swap);

/* ################## Fonts ################## */
body, input, #wikEdSummaryComboInput #wikEdSummarySelect
{
   font-family: Calibri, Arial, sans-serif;
}

.mw-body h1, .mw-body-content h1, .mw-body-content h2, h3, h4, h5, h6, .mw-headline, :lang(la) {
    font-family: Alegreya, Gentium Basic, Cambria, Times, serif;
}

.mw-parser-output {
	font-family: Literata, 'Source Serif 4', serif;
}

#bodyContent {
	font-size: inherit;
}

h1, h2, h3, h4, h5, b, strong {
	font-weight: 600;
}

/* ################## Preview ################## */
#wikiPreview
{
   background-color: #ddd;
   background-image: -webkit-gradient(linear, 0 100%, 100% 0,
                         color-stop(0.25, rgba(255, 255, 255, 0.15)),
                         color-stop(0.25, transparent),
                         color-stop(0.5, transparent),
                         color-stop(0.5, rgba(255, 255, 255, 0.15)),
                         color-stop(0.75, rgba(255, 255, 255, 0.15)),
                         color-stop(0.75, transparent), to(transparent));
   background-image: -webkit-linear-gradient(315deg,
                         rgba(255, 255, 255, 0.15) 25%,
                         transparent 25%, transparent 50%,
                         rgba(255, 255, 255, 0.15) 50%,
                         rgba(255, 255, 255, 0.15) 75%,
                         transparent 75%, transparent);
   background-image: -moz-linear-gradient(315deg,
                         rgba(255, 255, 255, 0.15) 25%,
                         transparent 25%, transparent 50%,
                         rgba(255, 255, 255, 0.15) 50%,
                         rgba(255, 255, 255, 0.15) 75%,
                         transparent 75%, transparent);
   background-image: linear-gradient(315deg,
                         rgba(255, 255, 255, 0.15) 25%,
                         transparent 25%, transparent 50%,
                         rgba(255, 255, 255, 0.15) 50%,
                         rgba(255, 255, 255, 0.15) 75%,
                         transparent 75%, transparent);

   -webkit-background-size: 50px 50px;
      -moz-background-size: 50px 50px;
           background-size: 50px 50px;
}
#wikiPreview pre, .mw-code { opacity: 0.7; }

@media (max-width: 1024px)
{
   .ubxDiv, #mw-panel { display: none; }
   .mw-body, #footer { margin-left: 0; }
   #left-navigation { left: 0; margin-left: 0 }
   #p-personal ul { padding-left: 0; }
   #right-navigation { float: left; margin-left: 9em; margin-top: 0; }
}

@media print
{
    a:link, a:visited, a:active { text-decoration: underline; }
    #toc { display: none; }
}

div.editButtons input[type=submit], div.editButtons .cancelLink a
{
	font-size: 100%;
}