MediaWiki:Common.css

From Han Wiki
Revision as of 08:52, 2 August 2020 by Mhan (talk | contribs) (add .smallcaps)

Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
@import url(//fonts.googleapis.com/css?family=Droid+Sans+Mono);

@font-face {
  font-family: ckai;
  src: url(//fonts.googleapis.com/earlyaccess/cwtexkai.css);
}

.blockhanja {
  font-family: HYhaeseo, 한양해서, ckai, Batang, serif;
  font-size: 3em;
  line-height: 100%;
}

.blockhanja-haeseo {
  font-family: HYhaeseo, 한양해서, ckai, serif;
  font-size: 3em;
  line-height: 100%;
}

.haeseo {
  font-family: HYhaeseo, 한양해서, ckai, serif;
}

.haeseo-larger {
  font-family: HYhaeseo, 한양해서, ckai, serif;
  font-size: 2em;
}

div.mw-geshi {
  font-family: 'Droid Sans Mono',sans-serif;
  padding: 1em;
  margin: 1em 0; 
  border: 1px dashed #2f6fab;
/*  background-color: #f9f9f9; */
  background-color: #d7d7d7;
}

.mw-highlight .lineno { user-select: none; }

code {
  font-family: 'Droid Sans Mono',sans-serif;
  padding: 2px 4px;
  font-size: 90%;
  color: #FFF;
  background-color: #333;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

span.cmd {
  box-sizing: border-box;
  font-weight: bold;
  color: #0E62E2;
  padding: 2px 5px;
  white-space: nowrap;
  max-width: 100%;
  background: #fff;
  border: solid 1px #e1e4e5;
  font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
  overflow-x: auto;
  line-height: 24px;
  margin: 0;
  margin-bottom: 24px;
}

span.param {
  box-sizing: border-box;
  color: #E74C3C;
  padding: 2px 5px;
  white-space: nowrap;
  max-width: 100%;
  background: #fff;
  border: solid 1px #e1e4e5;
  font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
  overflow-x: auto;
  line-height: 24px;
  margin: 0;
  margin-bottom: 24px;
}

span.package {
  font-family: 'Droid Sans Mono',sans-serif;
  padding: 2px 4px;
  font-size: 90%;
  color: #333;
  background-color: #ddd;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

span.shell,span.path {
  white-space: nowrap;
  padding: 2px 4px;
  margin: 0;
  border: 1px solid #ddd;
  background-color: #f8f8f8;
  border-radius: 3px;
  max-width: 100%;
  display: inline-block;
  overflow: auto;
  vertical-align: middle;
  line-height: 1.3;
  font-family: 'Droid Sans Mono',sans-serif;
  font-size: 12px;
  box-sizing: border-box;
  text-shadow: none;
  background: rgba(65,131,196,0.4);
  color: #333333;
}

.badge {
    display: inline-block;
    margin: 0;
    overflow: visible;
    color: rgba(255,255,255,0.9);
    -o-text-overflow: clip;
    text-overflow: clip;
    text-shadow: -1px -1px 0 rgba(170,170,170,0.66) ;
    -webkit-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
    -moz-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
    -o-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
    transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
    -webkit-transform: none;
    transform: none;
    -webkit-transform-origin: 50% 50% 0;
    transform-origin: 50% 50% 0;
}

.blabel {
    padding: 0 3px 0 5px;
    border: 1px 0 1px 1px solid rgba(186,186,186,0.66);
    -webkit-border-radius: 3px 0 0 3px;
    border-radius: 3px 0 0 3px;
    background: #545454;
    -webkit-box-shadow: 2px 0 2px 0 rgba(0,0,0,0.2) ;
    box-shadow: 2px 0 2px 0 rgba(0,0,0,0.2) ;
}

.bdata {
    padding: 0 5px 0 5px;
    border: 1px 1px 1px 0 solid rgba(186,186,186,0.66);
    -webkit-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
    -webkit-box-shadow: 2px 2px 2px 0 rgba(0,80,186,0.2) ;
    box-shadow: 2px 2px 2px 0 rgba(0,80,186,0.2) ;
}

.bgblue {
  background-color: #201e91;
}

.bggreen {
  background-color: #1a6b28;
}

.bgred {
  background-color: #ba3b1b;
}

.bgyellow {
  background-color: #877511;
}


div.cli, .cli {
  font-family: 'Droid Sans Mono',sans-serif;
  border-radius: 3px;
  border: 1px solid #000000;
  background-color: black;
  color: white;
  padding: 0em 0.5em;
}

pre.output {
  font-family: 'Droid Sans Mono',sans-serif;
  border-radius: 3px;
  color:#cccccc;
  padding: 3px 5px;
  background-color: black;
  border:none;
}

.mw-highlight pre {
  word-wrap: normal;
  border: 0;
  background-color: #eff0f1;
  font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif;
}

.mw-highlight pre .hll {
  background-color: #ffd996;
}

/*
#toc {
  float: right;
  margin: 0 0 1em 1em;
  position: fixed;
  top: 100px;
  right: 10px;
}
*/


.smallcaps {
    font-variant: small-caps;
    text-transform: lowercase;
}
.smallcaps:first-letter {
    text-transform: uppercase;
}