MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will be applied to all skins: @import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css");" |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css"); | @import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css"); | ||
@font-face { | |||
font-family: 'czn'; | |||
src: url('/fonts/czn.ttf') format('truetype'); | |||
font-weight: normal; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
:root { | |||
--color-czn: #ff540c; | |||
} | |||
/* Fix -webkit-focus-ring-color */ | |||
a:focus { | |||
outline: none; | |||
} | |||
a:focus,a:hover { | |||
text-decoration: none; | |||
} | |||
body { | |||
font-family: 'czn'; | |||
background: url(https://sandboxwiki.com/images/3/3a/Bg.png); | |||
background-attachment: fixed; | |||
background-size: cover; | |||
background-position: center; | |||
background-repeat: no-repeat; | |||
} | |||
#p-logo, #p-navigation, #p-tb, #mw-head, .mw-editsection, .mw-footer { | |||
display: none; | |||
} | |||
#mw-page-base { | |||
background: transparent; | |||
} | |||
#content { | |||
width: 1200px; | |||
max-width: 1200px; | |||
margin: auto; | |||
border: none; | |||
border-radius: 8px; | |||
background: rgba(255,255,255,0.8); | |||
} | |||
Latest revision as of 08:51, 16 May 2026
/* CSS placed here will be applied to all skins */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css");
@font-face {
font-family: 'czn';
src: url('/fonts/czn.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
:root {
--color-czn: #ff540c;
}
/* Fix -webkit-focus-ring-color */
a:focus {
outline: none;
}
a:focus,a:hover {
text-decoration: none;
}
body {
font-family: 'czn';
background: url(https://sandboxwiki.com/images/3/3a/Bg.png);
background-attachment: fixed;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
#p-logo, #p-navigation, #p-tb, #mw-head, .mw-editsection, .mw-footer {
display: none;
}
#mw-page-base {
background: transparent;
}
#content {
width: 1200px;
max-width: 1200px;
margin: auto;
border: none;
border-radius: 8px;
background: rgba(255,255,255,0.8);
}