MediaWiki:Common.css
Från wpu.nu
Version från den 11 april 2022 kl. 18.36 av Simon Lundell (diskussion | bidrag)
OBS: Efter du sparat sidan kan du behöva tömma din webbläsares cache för att se ändringarna.
- Firefox / Safari: Håll ned Skift och klicka på Uppdatera sidan eller tryck antingen Ctrl-F5 eller Ctrl-R (⌘-R på Mac)
- Google Chrome: Tryck Ctrl-Skift-R (⌘-Shift-R på Mac)
- Internet Explorer: Håll ned Ctrl och klicka på Uppdatera eller tryck Ctrl-F5
- Opera: Gå till Meny → Inställningar (Opera → Inställningar på en Mac) och sedan på Sekretess & säkerhet → Rensa webbläsardata → Hämtade bilder och filer.
/* New wiki page: Remove this with text of the new page */
@import url('https://fonts.googleapis.com/css2?family=Arimo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Mono&family=PT+Sans+Caption:wght@400;700&family=PT+Sans+Narrow:wght@400;700&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=PT+Serif+Caption:ital@0;1&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
/*
font-family: 'PT Mono', monospace;
font-family: 'PT Sans', sans-serif;
font-family: 'PT Sans Caption', sans-serif;
font-family: 'PT Sans Narrow', sans-serif;
font-family: 'PT Serif', serif;
font-family: 'PT Serif Caption', serif;
*/
.mw-editsection { display:none!important; }
/* ConfirmEdit QuestyCaptcha -- on Create Account */
.htmlform-tip + .mw-htmlform-field-HTMLInfoField {
color:green;
font-weight:bold;
font-size:150%;
font-style:italic;
}
label[for=wpCaptchaWord] {
color:green;
font-weight:bold;
font-size:150%;
font-style:italic;
}
@font-face {
font-family: 'TratexVit';
font-style: normal;
font-weight: normal;
src: local('TratexVit'), url('/resources/assets/TRATV___.woff') format('woff');
}
@font-face {
font-family: 'TratexSvart';
font-style: normal;
font-weight: normal;
src: local('TratexSvart'), url('/resources/assets/TRATS___.woff') format('woff');
}
@font-face {
font-family: 'TRATEXPOSVERSAL POSVERSAL';
font-style: normal;
font-weight: normal;
src: local('TRATEXPOSVERSAL POSVERSAL'), url('/resources/assets/TRATEP__.woff') format('woff');
}
@font-face {
font-family: 'TRATEXNEGVERSAL NEGVERSAL';
font-style: normal;
font-weight: normal;
src: local('TRATEXNEGVERSAL NEGVERSAL'), url('/resources/assets/TRATEN__.woff') format('woff');
}
.nummerplåt {
border: solid;
background-color: 00AFFF;
border-color: 777;
border-radius: 4px;
border-width: 1px;
font-family:'TratexSvart';
font-size: 12px;
font-weight: 300;
width: max-content;
padding-top: 1px;
padding-bottom: 1px;
padding-left: 2px;
padding-right: 2px;
line-height: 10px;
margin: 1px;
}
/* CSS som skrivs här påverkar alla utseenden */
/*
#content{
margin-left:auto !important;
margin-right:auto;
max-width: 950px;
}
*/
/*
#footer {
margin-left: auto !important;
margin-right: auto;
max-width: 950px;
}*/
/* testing */
/*
#mw-navigation {
margin-left: auto !important;
margin-right: auto;
max-width: 1140px;
top: 0;
}*/
.ns-3100 h1 { display: none; } /*Göm header på uppslagssidor*/
.ns-3200 h1 { display: none; } /*Göm header på uppslagssidor*/
.frontpage-section {
min-width: 40%;
max-width: 600px;
padding: 15px;
padding-top: 0px;
margin: 0px;
}
.pu-section-page {
/*margin-top: .5em;
margin-bottom: .5em;
margin-left: 1em;
margin-right: .5em;
padding-top: 30px;
padding-right: 30px;
padding-bottom: 30px;
padding-left: 30px;*/
display: flex;
justify-content: flex-start;
}
.pu-section-image {
flex-grow: 6;
flex-basis: 45%;
order:2;
/*background-color: #E5E5EF;
border-color: #000000;
border-width: 5px;
float: right;
width: 50%;*/
/*max-width: 52em;
margin-top: .5em;
margin-bottom: .5em;
margin-left: 1em;
margin-right: .5em;
padding-top: 30px;
padding-right: 30px;
padding-bottom: 30px;
padding-left: 30px;*/
}
/* To make images responsive */
.res-img img {
max-width: 100%;
height: auto;
/*margin-left: 80px;
vertical-align: top;*/
}
@media only screen and (max-width: 1080px) {
.hide-on-small-screens {
display: none;
}
}
.pu-paperform-avatar-image{
margin: 10px;
padding: 0px;
border-radius: 5px;
height: 200px;
}
.pu-paperform-avatar-frame{
background-color: #F5F5F5;
border-style: dashed;
border-color: #DDDDDD;
border-width: 1px;
border-radius: 10px;
height: 220px;
width: 220px
}
.pu-section-page-numbers {
/*float:left;
margin-right: .8em;
margin-top: .0em;
padding-left: 2%;
padding-top: 1px;*/
text-align: left;
}
.pu-section-page-spacer {
min-height:50px;
}
.pu-section-navigation {
/*
max-width: 65em;
min-width: min-content;*/
font-family: 'Arimo', sans-serif;
font-size: 24px;
font-style: normal;
font-variant: normal;
font-weight: 700;
line-height: 16px;
margin: 0px;
max-width: 40em;
width: 100%;
/*background-color: #E5EFE5;*/
}
.pu-section-page-content {
flex-grow:6;
flex-basis:40em;
max-width: 60em;
order:1;
/*width: 50%;
max-width: 65em;
min-width: min-content;*/
font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
font-size: 16px;
font-style: normal;
font-variant: normal;
font-weight: 700;
line-height: 24px;
/*max-width: 52em;
background-color: #E5EFE5;*/
border-color: #DDDDDD;
border-style:dashed;
border-width: 1px;
margin-top: .5em;
margin-bottom: .5em;
margin-left: 1em;
margin-right: .5em;
padding-top: 30px;
padding-right: 30px;
padding-bottom: 30px;
padding-left: 30px;
}
@media only screen and (max-width: 1080px) {
.fill-text-on-small-screens {
font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
font-size: 14px;
font-style: normal;
font-variant: normal;
font-weight: 700;
line-height: 16px;
width: 95%;
border-width: 1px;
margin-top: 15px;
margin-bottom: 15px;
margin-left: 0px;
margin-right: 0px;
padding-top: 20px;
padding-bottom: 20px;
padding-right: 5px;
padding-left: 5px;
}
}
.pu-paperform-container {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-content: stretch;
align-items: stretch;
max-width: 81em;
}
.pu-paperform-heading {
font-family: 'Arimo', sans-serif;
font-size: 20px;
color: #225522;
font-weight: 600;
line-height: 18px;
min-height: 2em;
}
.pu-paperform-box-s8 {
background-color: #E5EFE5;
border-color: #DDDDDD;
border-style:dashed;
border-width: 1px;
/*width: 500px; */
min-height: 50px;
flex-basis: 80em;
flex-grow: 1;
flex-shrink: 1;
margin-left: .25em;
margin-top: .25em;
}
.pu-paperform-box-s4 {
background-color: #E5EFE5;
border-color: #DDDDDD;
border-style:dashed;
border-width: 1px;
/*width: 500px; */
min-height: 50px;
flex-basis: 40em;
flex-grow: 1;
flex-shrink: 1;
margin-left: .25em;
margin-top: .25em;
}
.pu-paperform-box-s2 {
background-color: #E5EFE5;
border-color: #DDDDDD;
border-style:dashed;
border-width: 1px;
/*width: 500px; */
min-height: 50px;
flex-basis: 20em;
flex-grow: 1;
flex-shrink: 1;
margin-left: .25em;
margin-top: .25em;
}
.pu-paperform-box-s1 {
background-color: #E5EFE5;
border-color: #DDDDDD;
border-style:dashed;
border-width: 1px;
/*width: 500px; */
min-height: 50px;
flex-basis: 10em;
flex-grow: 1;
flex-shrink: 1;
margin-left: .25em;
margin-top: .25em;
}
.pu-paperform-box-large {
background-color: #E5EFE5;
border-color: #DDDDDD;
border-style:dashed;
border-width: 1px;
min-height: 50px;
flex-basis: 2em;
flex-grow: 0;
flex-shrink: 2;
align-self: flex-end;
justify-content: flex-end;
margin-left: .25em;
margin-top: .25em;
}
.pu-paperform-box-spacer {
/*background-color: #FF0000;
border-color: #000000;
border-style: solid;
border-width: 1px;*/
flex-grow: 12;
flex-shrink: 1;
margin-left: 0em;
margin-top: 0em;
}
.pu-text {
font-family: 'Arimo', sans-serif;
font-size: 16px;
color: #000;
font-weight: 600;
line-height: 14px;
margin: .3em;
}
.pu-text-small {
font-family: 'Arimo', sans-serif;
font-size: 12px;
color: #000;
font-weight: 600;
margin: .3em;
}
.pu-text-tiny {
font-family: 'Arimo', sans-serif;
font-size: 10px;
line-height: 8px;
color: #000;
font-weight: 600;
margin: .0em;
}
.pu-paperform-text {
font-family: 'Arimo', sans-serif;
font-size: 16px;
color: #225522;
font-weight: 600;
line-height: 14px;
margin: .3em;
}
.pu-paperform-text-small {
font-family: 'Arimo', sans-serif;
font-size: 12px;
color: #225522;
font-weight: 600;
margin: .3em;
}
.pu-paperform-text-tiny {
font-family: 'Arimo', sans-serif;
font-size: 10px;
line-height: 8px;
color: #225522;
font-weight: 600;
margin: .0em;
}
.pu-paperform-link {
font-family: 'Arimo', sans-serif;
font-size: 12px;
color: #225522;
font-weight: 600;
margin: .3em;
}
.pu-paperform-link a:link {
color: #225522;
}
.pu-paperform-link a:visited {
color: #225522;
}
.pu-paperform-link a:hover {
color: #225522;
}
.pu-paperform-link a:active {
color: #225522;
}
.pu-paperform-link-small {
font-family: 'Arimo', sans-serif;
font-size: 12px;
line-height: 10px;
color: #225522;
font-weight: 600;
margin: .3em;
}
.pu-paperform-link-small a:link {
color: #225522;
}
.pu-paperform-link-small a:visited {
color: #225522;
}
.pu-paperform-link-small a:hover {
color: #225522;
}
.pu-paperform-link-small a:active {
color: #225522;
}
.pu-paperform-link-medium {
font-family: 'Arimo', sans-serif;
font-size: 14px;
line-height: 13px;
color: #225522;
font-weight: 600;
margin: .3em;
}
.pu-paperform-link-medium a:link {
color: #225522;
}
.pu-paperform-link-medium a:visited {
color: #225522;
}
.pu-paperform-link-medium a:hover {
color: #225522;
}
.pu-paperform-link-medium a:active {
color: #225522;
}
.pu-paperform-link-tiny {
font-family: 'Arimo', sans-serif;
font-size: 10px;
line-height: 8px;
color: #225522;
font-weight: 600;
margin: .0em;
}
.pu-paperform-link-tiny a:link {
color: #225522;
}
.pu-paperform-link-tiny a:visited {
color: #225522;
}
.pu-paperform-link-tiny a:hover {
color: #225522;
}
.pu-paperform-link-tiny a:active {
color: #225522;
}
.pu-paperform-heading a:link {
color: #225522;
}
.pu-paperform-heading a:visited {
color: #225522;
}
.pu-paperform-heading a:hover {
color: #225522;
}
.pu-paperform-heading a:active {
color: #225522;
}
.pu-paperform-filled-in-text {
font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
font-size: 16px;
font-style: normal;
font-variant: normal;
font-weight: 700;
line-height: 14px;
background-color: #E5EFE5;
margin-top: .5em;
margin-bottom: .5em;
margin-left: 1em;
margin-right: .5em;
}
.pu-paperform-filled-in-text-large {
font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
font-size: 24px;
font-style: normal;
font-variant: normal;
font-weight: 700;
line-height: 24px;
background-color: #E5EFE5;
margin-top: .5em;
margin-bottom: .5em;
margin-left: 1em;
margin-right: .5em;
}
.pu-paperform-preprinted-text {
font-family: 'Arimo', sans-serif;
font-size: 12px;
color: #225522;
font-weight: 600;
line-height: 14px;
margin: .3em;
}
.pu-paperform-handwriting {
font-family: 'Caveat';
font-size: 20px;
color: #CC2222;
font-weight: normal;
line-height: 20px;
margin-top: 0em;
margin-bottom: 0em;
margin-left:3em;
}
.pu-paperform-handwriting a:link {
color: #CC2222;
}
.pu-paperform-handwriting a:visited {
color: #CC2222;
}
.pu-paperform-handwriting a:hover {
color: #CC2222;
}
.pu-paperform-handwriting a:active {
color: #CC2222;
}
.pu-paperform-form-element {
/*flex-shrink: 2;*/
/*background-color: #E5EFE5;*/
border-radius: 0px;
border-style: none;
border-width: 0px;
color: #225522;
flex-basis: 10em;
flex-grow: 2;
font-family: "Arimo",sans-serif;
font-size: 12px;
font-weight: 600;
justify-content: stretch;
line-height: 12px;
margin-bottom: 5px;
min-width: 20em;
padding: 5px;
width: 100%;
}
/*
Hamnar på alla forms?
.pu-paperform-form-element input[type=text], textarea, select {
background-color: #E5EFE5;
border-radius: 0px;
border-style: dotted;
border-width: 1px;
color: #225522;
font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
font-size: 16px;
font-style: normal;
font-variant: normal;
font-weight: 700;
line-height: 14px;
margin-bottom: 5px;
padding: 5px;
width:100%;
}*/
ul.smw-format.ul-format.person-med-uppslag {
column-count: 2;
}
.person-med-uppslag {
column-count: 2;
}
.prp-pages-output {
font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
font-size: 16px;
font-style: normal;
font-variant: normal;
font-weight: 700;
line-height: 24px;
float: right;
}