MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 107: | Line 107: | ||
} | } | ||
/*type classes*/ | |||
.title { | .title { | ||
font-family: 'happytimes', serif; | font-family: 'happytimes', serif; | ||
Line 159: | Line 161: | ||
background-image: none; | background-image: none; | ||
} | } | ||
h1#firstHeading.firstHeading { | h1#firstHeading.firstHeading { | ||
font-family: 'happytimes', serif; | font-family: 'happytimes', serif; | ||
} | } | ||
p { | p { | ||
Line 172: | Line 172: | ||
max-width: 60%; | max-width: 60%; | ||
} | } | ||
a.image { | a.image { | ||
Line 179: | Line 180: | ||
/*width: 50%;*/ | /*width: 50%;*/ | ||
} | } | ||
a:link { | |||
color: black; | |||
text-decoration: underline; | |||
} | |||
Line 185: | Line 192: | ||
vertical-align: middle; | vertical-align: middle; | ||
display: table-cell; | display: table-cell; | ||
} | } |
Revision as of 17:21, 12 August 2020
/* CSS placed here will be applied to all skins */ body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } @font-face { font-family: 'happytimes'; src: url('floop-wiki-fonts/happytimes/happy-times-NG_regular_master_web.woff2') format('woff2'), url('floop-wiki-fonts/happytimes/happy-times-NG_regular_master_web.woff') format('woff'), url('floop-wiki-fonts/happytimes/happy-times-NG_regular_master_web.ttf') format('truetype'); font-weight: 400; font-style: normal; } @font-face { font-family: 'happytimes'; src: url('floop-wiki-fonts/happytimes/happy-times-NG_bold_master_web.woff2') format('woff2'), url('floop-wiki-fonts/happytimes/happy-times-NG_bold_master_web.woff') format('woff'), url('floop-wiki-fonts/happytimes/happy-times-NG_bold_master_web.ttf') format('truetype'); font-weight: bold; font-style: normal; } @font-face { font-family: 'happytimes'; src: url('floop-wiki-fonts/happytimes/happy-times-NG_italic_master_web.woff2') format('woff2'), url('floop-wiki-fonts/happytimes/happy-times-NG_italic_master_web.woff') format('woff'), url('floop-wiki-fonts/happytimes/happy-times-NG_italic_master_web.ttf') format('truetype'); font-weight: 400; font-style: italic; } .mw-references-wrap.mw-references-columns { font-family: 'happytimes'; padding-top: 12px; } .mw-wiki-logo { padding-top: 12px; } #mw-head { background-colour: white; } #mw-panel { width: 18em; padding-right: 8px; font-family: 'happytimes', serif; background-colour: white; } #left-navigation { margin-left: 19em; } #mw-page-base { background-color: white; background-image: none; } #mw-head-base { margin-left: 19em; } .mw-body { margin-left: 19em; background-color: white; } .mw-body-content { background-color: white; } #footer { margin-left: 21em; } /* meta-diagram */ .container { /* border: 1px solid red;*/ display: grid; padding: 8px; grid-template-columns: auto auto auto; grid-template-rows: auto auto auto; } .container-shell { font-family: 'Arial', sans-serif; padding: 12px; } .container-title { padding: 12px; /*vertical-align: middle;*/ /*display: table-cell;*/ max-width: 100%; } .container-box { float: left; padding: 18px; position: relative; text-align: center; max-width: 100%; display: table-cell; } /*type classes*/ .title { font-family: 'happytimes', serif; font-size: 3em; font-style: regular; text-align: center; line-height: 1em; max-width: 100%; } .subtitle { font-family: 'happytimes', serif; font-size: 1.4em; /*font-style: italic;*/ line-height: 1.2em; text-align: center; margin-top: -24px; max-width: 100%; } .loglines { text-align: left; padding: 12px; font-size: 1.4em; line-height: 1.2em; font-family: 'happytimes', serif; max-width: 100%; } .machine { font-family: 'happytimes', serif; font-size: 1.4em; line-height: 1.2em; text-align: center; max-width: 100%; } .caption { font-family: 'happytimes', serif; text-align: left; } .byline { font-family: 'happytimes', serif; text-align: center; margin-left: auto; margin-right: auto; } body { background-color: white; background-image: none; } h1#firstHeading.firstHeading { font-family: 'happytimes', serif; } p { font-family: 'happytimes', serif; font-size: 1.4em; line-height: 1.3em; max-width: 60%; } a.image { display: inline-block; margin-left: auto; margin-right: auto; /*width: 50%;*/ } a:link { color: black; text-decoration: underline; } /* an attempt to vertical-align text in this cell*/ #title-box { vertical-align: middle; display: table-cell; }