MediaWiki:Common.css: Difference between revisions
From GDPRhub
m (Protected "MediaWiki:Common.css" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
m (Tweaked example box colors) |
||
(41 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Load the Lato font files (only defines the @font-face; the ‘Timeless’ skin applies it to the document) */ | |||
@import '/resources/assets/fonts/lato/stylesheet.css'; | |||
/* noyb colors */ | /* noyb colors */ | ||
Line 31: | Line 34: | ||
} | } | ||
.mw-body h1 { | .mw-body h1, .h1 { | ||
font-size: 1.8em; | font-size: 1.8em; | ||
} | } | ||
.mw-body h2 { | .mw-body h2, .h2 { | ||
font-size: 1.6em; | font-size: 1.6em; | ||
} | } | ||
.mw-body h3 { | .mw-body h3, .h3 { | ||
font-size: 1.4em; | font-size: 1.4em; | ||
border-bottom: solid 1px #c8ccd1; | |||
} | } | ||
.mw-body h4 { | .mw-body h4, .h4 { | ||
font-size: 1.2em; | font-size: 1.2em; | ||
font-weight: bold; | |||
} | |||
.mw-body h5, .h5 { | |||
font-style: italic; | |||
} | |||
/* Copy styles from normal h1, h2, … for our ‘fake’ headings */ | |||
.h1, .h2, .h3, .h4, .h5, .h6 { | |||
font-weight: normal; | |||
font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif; | |||
line-height: 1.125; | |||
margin: 1.25em 0 0.5em; | |||
} | |||
.h1::after, | |||
.h2::after { | |||
content: ''; | |||
display: block; | |||
border-bottom: solid 2px #c8ccd1; | |||
overflow: hidden; | |||
} | |||
/* No title on welcome page; see https://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_hide_the_main_page_title? */ | |||
body.page-Welcome_to_GDPRhub.action-view h1.firstHeading, | |||
body.page-Welcome_to_GDPRhub.action-submit h1.firstHeading { | |||
display: none; | |||
} | } | ||
Line 51: | Line 81: | ||
text-justify: auto; | text-justify: auto; | ||
} | } | ||
/* Only/mainly used for machine translations. Show a scrollbar if too long. */ | |||
pre { | |||
max-height: 80vh; | |||
overflow-y: auto; | |||
} | |||
/* Table of contents */ | |||
html body .mw-body .toc { | |||
/* Don’t show ToC in a box */ | |||
display: block; | |||
border: unset; | |||
background: unset; | |||
box-shadow: unset; | |||
padding: unset; | |||
margin: unset; | |||
min-width: unset; | |||
} | |||
html body .mw-body .toctitle h2 { | |||
/* Undo special styling for “Contents” h2 (apply same styles as for normal h2) */ | |||
display: block; | |||
font-size: 1.6em; | |||
font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif; | |||
line-height: 1.125; | |||
margin: 1.25em 0 0.5em; | |||
} | |||
html body .mw-body .toctitle { | |||
border-bottom: none; /* put border under h2 (not div) to not touch floating box */ | |||
} | |||
html body .mw-body .toctitle h2::after { | |||
display: block; /* put border under h2 (not div) to not touch floating box */ | |||
} | |||
/*html body .mw-body .toc > ul {*/ | |||
/* For links to headings, use font of headings */ | |||
/*font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif;*/ | |||
/*line-height: 1.125;*/ | |||
/*font-size: 1.1em;*/ | |||
/*}*/ | |||
html body .mw-body .toctogglespan { | |||
/* No hide/show button */ | |||
display: none; | |||
} | |||
/* mobile/desktop specific media queries */ | /* mobile/desktop specific media queries */ | ||
Line 61: | Line 135: | ||
/* display: none; */ | /* display: none; */ | ||
} | } | ||
} | |||
.wikitable { | |||
margin-top: auto !important; | |||
} | |||
@media (min-width: 1105px) { | |||
.mw-body { | |||
padding: 0; | |||
margin-bottom: 1rem; | |||
} | |||
} | } | ||
Line 74: | Line 158: | ||
display: none; | display: none; | ||
} | } | ||
} | |||
/* For making two column layout on front page */ | |||
.split-box { | |||
display: flex; | |||
flex-flow: row wrap; | |||
gap: 2em; | |||
} | |||
.split-box-left, | |||
.split-box-right { | |||
width: 30em; | |||
max-width: 100%; | |||
flex-grow: 1; | |||
} | |||
/* “New on GDPRhub” list on main page | |||
Functionality defined by multiple pieces: | |||
- the NewPages extension | |||
- MediaWiki:Common.js to load the content to preview | |||
- relies on OpenGraphMeta+Description2 extensions to provide those contents | |||
- MediaWiki:Common.css to style the items as cards | |||
*/ | |||
ul#new-on-gdprhub { | |||
list-style: none; | |||
margin-left: 0; | |||
display: flex; | |||
flex-flow: row wrap; | |||
gap: 2em; | |||
justify-content: space-evenly; | |||
} | |||
#new-on-gdprhub li { | |||
width: 20em; | |||
max-width: 100%; | |||
flex-grow: 1; | |||
transition: opacity 0.5s; | |||
} | |||
#new-on-gdprhub li a { | |||
box-sizing: border-box; | |||
width: 100%; | |||
height: 10rem; | |||
padding: 1.2rem; | |||
border: 1px solid lightgrey; | |||
border-radius: 4px; | |||
box-shadow: 2px 2px 4px #33333333; | |||
overflow: hidden; | |||
color: inherit; | |||
position:relative; | |||
display: flex; | |||
flex-flow: row nowrap; | |||
} | |||
#new-on-gdprhub li .card-text { | |||
flex-grow: 1; | |||
font-size: 0.8em; | |||
} | |||
#new-on-gdprhub li .card-image { | |||
width: 100px; | |||
flex-shrink: 0; | |||
margin-left: 1em; | |||
display: flex; | |||
align-content: center; | |||
} | |||
#new-on-gdprhub li .card-image img { | |||
width: 100%; | |||
height: auto; | |||
max-height: 100%; | |||
max-width: 100%; | |||
align-self: center; | |||
} | |||
#new-on-gdprhub li:not(.preview-loaded) { | |||
opacity: 0.2; | |||
} | |||
#new-on-gdprhub li .card-title { | |||
margin-top: 0; | |||
} | |||
#new-on-gdprhub li .card-description { | |||
} | |||
#new-on-gdprhub li.preview-loaded a::after { | |||
content: '→ Read more'; | |||
font-size: 0.8rem; | |||
display: block; | |||
position: absolute; | |||
bottom:0; | |||
left: 0; | |||
width: 100%; | |||
padding: 1.2rem 0 0.2rem 1.2rem; | |||
background: linear-gradient(#ffffff00, #ffffffee 50%); | |||
} | |||
/* Style the “most active contributors” table on the main page */ | |||
.contributionscores { | |||
border: none; | |||
} | |||
.contributionscores td:nth-child(1), | |||
.contributionscores th:nth-child(1), | |||
.contributionscores td:nth-child(2), | |||
.contributionscores th:nth-child(2) { | |||
/* Hide rank & score columns */ | |||
display: none; | |||
} | |||
.contributionscores tbody { | |||
display: block; | |||
max-height: 40em; | |||
overflow-y: auto; | |||
overflow-x: hidden; /* prevents horizontal scrollbar in Chromium */ | |||
position: relative; | |||
} | |||
.contributionscores tr.header { | |||
/* Keep column headers visible */ | |||
position: sticky; /* Not working in Chromium. whatever. */ | |||
top: 0; | |||
} | |||
.contributionscores tr.header th { | |||
border: none; | |||
} | |||
.contributionscores-title { | |||
display: none; | |||
} | |||
/* We use sitenotice/localnotice to show the banner image (if any) */ | |||
#localNotice { | |||
border: none; | |||
background: none; | |||
box-shadow: none; | |||
text-align: center; | |||
} | |||
#localNotice p, | |||
.random-banner-container p { | |||
margin: 0; | |||
text-align: center; | |||
} | |||
.random-banner-container img { | |||
width: auto !important; | |||
height: auto !important; | |||
max-width: 100% !important; | |||
} | |||
/* Hide unless only-child: No risk of flicker when there is only one option */ | |||
.random-banner-container:not(.ready) > *:not(:only-child) { | |||
opacity: 0; | |||
} | |||
/* Display only the first child to reserve space for one banner (assumes all options are the same size) */ | |||
.random-banner-container:not(.ready) > :not(:first-child) { | |||
display: none; | |||
} | |||
/* Colour the GDPRhub country reporter log in button */ | |||
button#mw-input-pluggableauthlogin { | |||
background-color: #9a0a7c; | |||
border-color: #9a0a7c; | |||
} | |||
/* Make “Forgot your password?” button less misleading */ | |||
a[title="Special:PasswordReset"]::after { | |||
content: ' (note: if you are a country reporter and lost your password: don’t click here but send us a message!)'; | |||
font-size: smaller; | |||
color: black; | |||
} | |||
/* Remove cat background image from theme */ | |||
#mw-content-container { | |||
background-image: none; | |||
} | |||
/* Advanced Search */ | |||
iframe[src*="search-embed"] { | |||
/* Rule below makes it fit in the window height; but with the long filter list, | |||
* this may result in a scrollbar for the filters: not so pretty. | |||
*/ | |||
/*max-height: calc(100vh - 50px);*/ | |||
} | |||
/* Change Günay | |||
Navigationbar */ | |||
.p-navbar { | |||
background-color: #ffffff; | |||
margin-top: 0.9375rem; | |||
-webkit-box-shadow: none; | |||
box-shadow: none; | |||
min-height: 1px; | |||
margin-bottom: 0; | |||
border-bottom: 4px solid #9c0a7d; | |||
border-top: 4px solid #9c0a7d; | |||
padding: 0.125rem 0 0.125rem 0; | |||
position: sticky !important; | |||
} | |||
/* dropbar Nav */ | |||
.dropup, .dropright, .dropdown, .dropleft { | |||
position: relative; | |||
font-size: revert; | |||
/* text-transform: uppercase; */ | |||
font-weight: bold; | |||
background-color: #ffffff; | |||
z-index: 1000; | |||
} | |||
.dropdown-item:hover, .p-navbar .navbar-nav .ul .dropdown-menu > div > a:last-child:first-child:hover, | |||
.dropdown-item:focus, .p-navbar .navbar-nav .dropdown-menu > div > a:last-child:first-child:focus { | |||
color: #355A83; | |||
text-decoration: none; | |||
background: #bebebe linear-gradient(180deg,#eceff1,#e9ecef) repeat-x; | |||
z-index:1000; | |||
} | |||
.dropdown-item, .p-navbar .navbar-nav .dropdown-menu > div > a:first-child:last-child { | |||
display: block; | |||
width: 100%; | |||
padding: 0.25rem 1.5rem; | |||
clear: both; | |||
font-weight: 400; | |||
color: #355a83; | |||
text-align: inherit; | |||
white-space: nowrap; | |||
background-color: #ffffff; | |||
border: 0; | |||
font-weight: bold; | |||
z-index: 1000; | |||
} | |||
.dropdown-item:hover, .p-navbar .navbar-nav .dropdown-menu > div > a:last-child:first-child:hover, .dropdown-item:focus, .p-navbar .navbar-nav .dropdown-menu > div > a:last-child:first-child:focus { | |||
color: #212529; | |||
text-decoration: none; | |||
background: #bebebe linear-gradient(180deg,#eceff1,#e9ecef) repeat-x; | |||
font-weight: bold; | |||
} | |||
/* Stil für die SearchBar | |||
.component-SearchBar .form-control { | |||
margin-top: 10px; | |||
border: none; | |||
box-shadow: none; | |||
}*/ | |||
/* Stil for the PersonalTools-Menü right top right */ | |||
.component-PersonalTools ul.dropdown-menu { | |||
border-bottom: none; | |||
border: none; /* no Border */ | |||
box-shadow: none; /* no shadow */ | |||
} | |||
#p-personal .p-personal-tools, | |||
.p-personal .p-personal-tools { | |||
position: relative; | |||
display: inline-block; | |||
} | |||
#p-personal .p-personal-tools .dropdown-menu, | |||
.p-personal .p-personal-tools .dropdown-menu { | |||
display: none; | |||
position: absolute; | |||
background-color: #ffffff; | |||
min-width: 160px; | |||
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); | |||
z-index: 1; | |||
} | |||
#p-personal .p-personal-tools:hover .dropdown-menu, | |||
.p-personal .p-personal-tools:hover .dropdown-menu { | |||
display: block; | |||
} | |||
#p-personal .p-personal-tools .dropdown-item, | |||
.p-personal .p-personal-tools .dropdown-item { | |||
display: block; | |||
padding: 0.25rem 1.5rem; | |||
clear: both; | |||
font-weight: bold; | |||
color: #355a83; | |||
text-align: inherit; | |||
white-space: nowrap; | |||
background-color: #ffffff; | |||
border: 0; | |||
font-weight: bold; | |||
} | |||
#p-personal .p-personal-tools .dropdown-item:hover, | |||
.p-personal .p-personal-tools .dropdown-item:focus { | |||
color: #212529; | |||
text-decoration: none; | |||
background: #bebebe linear-gradient(180deg,#eceff1,#e9ecef) repeat-x; | |||
font-weight: bold; | |||
} | |||
#stickyGrid { | |||
background: #ffffff !important; | |||
position: sticky !important; | |||
background-color: #ffffff !important; | |||
top: 0; | |||
width: 100%; | |||
font-size: 2em; | |||
z-index: 999; /* Falls nötig, um sicherzustellen, dass das Element vor anderen Elementen liegt */ | |||
} | |||
.header.container.sticky { | |||
background-color: #ffffff; | |||
position: sticky !important; | |||
left: 0.5px; | |||
bottom: auto; | |||
top: 0px; | |||
/* width: 1140px; */ | |||
} | |||
/* | |||
.sticky { | |||
position: sticky !important; | |||
} | |||
.sticky-spacer { | |||
display: none !important; | |||
} | |||
*/ | |||
.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl { | |||
width: 100%; | |||
padding-right: 0px; /* do not change */ | |||
padding-left: 0px; /* do not change */ | |||
margin-right: auto; | |||
margin-left: auto; | |||
/* margin-bottom: -30px; */ | |||
} | |||
.input-group { | |||
margin-top: 20px; | |||
} | |||
.no-gutters { | |||
margin-right: 0; | |||
margin-left: 0; | |||
margin-top: 10px; | |||
} | |||
.footer-info, .footer-places, .footer-icons { | |||
/* margin-left: -0.5rem; | |||
margin-right: -0.5rem; | |||
margin-top: 20px; */ | |||
} | |||
/* Stil for dropdown-menü */ | |||
.dropdown-menu { | |||
box-shadow: none; | |||
} | |||
.mb-0, .my-0 { | |||
z-index: 1000; | |||
} | |||
/* selectbox covered by navbar fix: */ | |||
.oo-ui-defaultOverlay { | |||
z-index: 1001; | |||
} | |||
/* Logo on the left - attention if you put the banner back change to center */ | |||
.justify-content-center, .pagetools, .pagetools .tab-group { | |||
justify-content: left !important; | |||
} | |||
/* menu links override */ | |||
/*.nav-link {*/ | |||
/* font-weight: normal !important;*/ | |||
/*}*/ | |||
.mw-list-item > a { | |||
font-weight: normal !important; | |||
} | |||
.dropdown-toggle { | |||
font-weight: normal !important; | |||
} | |||
/* menu icons */ | |||
.n-About-us:before { | |||
background-image: url("https://test.gdprhub.eu/images/7/7c/About.png"); | |||
background-size: 16px 16px; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
content: ""; | |||
margin-right: 0.5em !important; | |||
vertical-align: middle; | |||
} | |||
.n-Visit-noyb\.eu:before { | |||
background-image: url("https://gdprhub.eu/images/9/94/Noyb.png"); | |||
background-size: 16px 16px; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
content: ""; | |||
margin-right: 0.5em !important; | |||
vertical-align: middle; | |||
} | |||
.n-Support-us\!:before { | |||
background-image: url("https://gdprhub.eu/images/8/86/Support_us.png"); | |||
background-size: 16px 16px; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
content: ""; | |||
margin-right: 0.5em !important; | |||
vertical-align: middle; | |||
} | |||
.n-Get-GDPRtoday\!:before { | |||
background-image: url("https://gdprhub.eu/images/e/ec/Newsletter.png"); | |||
background-size: 16px 16px; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
content: ""; | |||
margin-right: 0.5em !important; | |||
vertical-align: middle; | |||
} | |||
.n-LinkedIn:before { | |||
background-image: url("https://gdprhub.eu/images/1/1a/Linkedin.png"); | |||
background-size: 16px 16px; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
content: ""; | |||
margin-right: 0.5em !important; | |||
vertical-align: middle; | |||
} | |||
.n-Mastodon:before { | |||
background-image: url("https://gdprhub.eu/images/e/ef/Mastodon.png"); | |||
background-size: 16px 16px; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
content: ""; | |||
margin-right: 0.5em !important; | |||
vertical-align: middle; | |||
} | |||
.n-X-\/-Twitter:before { | |||
background-image: url("https://gdprhub.eu/images/a/a5/X.png"); | |||
background-size: 16px 16px; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
content: ""; | |||
margin-right: 0.5em !important; | |||
vertical-align: middle; | |||
} | |||
.n-RSS-feed:before { | |||
background-image: url("https://gdprhub.eu/images/d/da/Rss_feed.png"); | |||
background-size: 16px 16px; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
content: ""; | |||
margin-right: 0.5em !important; | |||
vertical-align: middle; | |||
} | |||
.n-Add-a-decision:before { | |||
background-image: url("https://gdprhub.eu/images/7/79/Add_decision.png"); | |||
background-size: 16px 16px; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
content: ""; | |||
margin-right: 0.5em !important; | |||
vertical-align: middle; | |||
} | |||
.n-Edit-a-page:before { | |||
background-image: url("https://gdprhub.eu/images/f/f2/Edit_page.png"); | |||
background-size: 16px 16px; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
content: ""; | |||
margin-right: 0.5em !important; | |||
vertical-align: middle; | |||
} | |||
.n-Style-Guide:before { | |||
background-image: url("https://gdprhub.eu/images/3/3d/Style_guide.png"); | |||
background-size: 16px 16px; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
content: ""; | |||
margin-right: 0.5em !important; | |||
vertical-align: middle; | |||
} | |||
.n-Country-Reporter:before { | |||
background-image: url("https://gdprhub.eu/images/6/64/Country_reporter_v3.png"); | |||
background-size: 16px 16px; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
content: ""; | |||
margin-right: 0.5em !important; | |||
vertical-align: middle; | |||
} | |||
.n-Send-a-hint\!:before { | |||
background-image: url("https://gdprhub.eu/images/0/0f/Hint.png"); | |||
background-size: 16px 16px; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
content: ""; | |||
margin-right: 0.5em !important; | |||
vertical-align: middle; | |||
} | |||
.n-Sponsorship:before { | |||
background-image: url("https://gdprhub.eu/images/0/02/Sponsorship.png"); | |||
background-size: 16px 16px; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
content: ""; | |||
margin-right: 0.5em !important; | |||
vertical-align: middle; | |||
} | |||
.toc h2 { | |||
display: block !important; | |||
border: 0; | |||
padding: 0; | |||
font-size: 100%; | |||
font-weight: normal; | |||
border-bottom: solid 1px #9C0A7D; | |||
text-align: left; | |||
} | |||
/* Toolbar Fix */ | |||
.ve-init-mw-desktopArticleTarget-toolbar { | |||
margin-top: -50px; | |||
padding-top: 50px; | |||
} | |||
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar { | |||
top: 55px !important; | |||
} | |||
/* blockquote { - ORIGINAL FORMATTING | |||
margin-left: 1rem; | |||
margin-right: 1rem; | |||
} */ | |||
.blockquote { | |||
margin: 0 2em; | |||
} | |||
.quote--wrapper { | |||
display: flex; | |||
margin-bottom: 1em; | |||
} | |||
.quote--img { | |||
display: flex; | |||
justify-content: center; | |||
width: 100px; | |||
} | |||
.quote--img a { | |||
display: block; | |||
margin: auto; | |||
} | |||
.quote--img img { | |||
width: 40px; | |||
height: auto; | |||
} | |||
.quote { | |||
padding: 0.8rem; | |||
margin: 0 2em 0 0.5em; | |||
border: 1px solid; | |||
border-radius: 10px; | |||
} | |||
.quote--charter { | |||
background-color: #ffe88e; | |||
border-color: #ffcc00; | |||
} | |||
.quote--cjeu { | |||
background-color: #d7ffe7; | |||
border-color: #a0eec0; | |||
} | |||
.quote--example { | |||
background-color: #E1DAEE; | |||
border-color: #674471; | |||
} | |||
.quote--edpb-guidelines { | |||
background-color: #cfe2ff; | |||
border-color: #b6d4fe; | |||
} | |||
.quote--common-mistake { | |||
background-color: #f8d7da; | |||
border-color: #f5c2c7; | |||
} | |||
.cjeu-reference { | |||
font-size: 80%; | |||
font-style: italic; | |||
} | |||
.charter-reference { | |||
font-size: 80%; | |||
font-style: italic; | |||
} | |||
.edpb-reference { | |||
font-size: 80%; | |||
font-style: italic; | |||
} | |||
.quote p { | |||
margin-bottom: 0; | |||
} | } |
Latest revision as of 12:09, 17 October 2024
/* CSS placed here will be applied to all skins */
/* Load the Lato font files (only defines the @font-face; the ‘Timeless’ skin applies it to the document) */
@import '/resources/assets/fonts/lato/stylesheet.css';
/* noyb colors */
.color-middle {
background: #9c0a7d;
}
.color-left {
background: #9c0a7d;
}
.color-right {
background: #9c0a7d;
}
.mw-body h1.firstHeading {
border-bottom: solid 4px #9c0a7d;
}
.tools-inline li.selected {
border-bottom: solid 4px #9c0a7d;
}
a.new, .new a {
color: #9c0a7d;
}
/* Text/Headline font sizes */
body {
font-size: 0.875em;
}
.mw-body h1, .h1 {
font-size: 1.8em;
}
.mw-body h2, .h2 {
font-size: 1.6em;
}
.mw-body h3, .h3 {
font-size: 1.4em;
border-bottom: solid 1px #c8ccd1;
}
.mw-body h4, .h4 {
font-size: 1.2em;
font-weight: bold;
}
.mw-body h5, .h5 {
font-style: italic;
}
/* Copy styles from normal h1, h2, … for our ‘fake’ headings */
.h1, .h2, .h3, .h4, .h5, .h6 {
font-weight: normal;
font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif;
line-height: 1.125;
margin: 1.25em 0 0.5em;
}
.h1::after,
.h2::after {
content: '';
display: block;
border-bottom: solid 2px #c8ccd1;
overflow: hidden;
}
/* No title on welcome page; see https://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_hide_the_main_page_title? */
body.page-Welcome_to_GDPRhub.action-view h1.firstHeading,
body.page-Welcome_to_GDPRhub.action-submit h1.firstHeading {
display: none;
}
p {
text-align: justify;
text-justify: auto;
}
/* Only/mainly used for machine translations. Show a scrollbar if too long. */
pre {
max-height: 80vh;
overflow-y: auto;
}
/* Table of contents */
html body .mw-body .toc {
/* Don’t show ToC in a box */
display: block;
border: unset;
background: unset;
box-shadow: unset;
padding: unset;
margin: unset;
min-width: unset;
}
html body .mw-body .toctitle h2 {
/* Undo special styling for “Contents” h2 (apply same styles as for normal h2) */
display: block;
font-size: 1.6em;
font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif;
line-height: 1.125;
margin: 1.25em 0 0.5em;
}
html body .mw-body .toctitle {
border-bottom: none; /* put border under h2 (not div) to not touch floating box */
}
html body .mw-body .toctitle h2::after {
display: block; /* put border under h2 (not div) to not touch floating box */
}
/*html body .mw-body .toc > ul {*/
/* For links to headings, use font of headings */
/*font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif;*/
/*line-height: 1.125;*/
/*font-size: 1.1em;*/
/*}*/
html body .mw-body .toctogglespan {
/* No hide/show button */
display: none;
}
/* mobile/desktop specific media queries */
/* make content tables at beginning of articles prettier */
@media screen and (max-width: 850px) {
.wikitable {
width: 100% !important;
float: left;
/* display: none; */
}
}
.wikitable {
margin-top: auto !important;
}
@media (min-width: 1105px) {
.mw-body {
padding: 0;
margin-bottom: 1rem;
}
}
/* display element desktop/mobile only */
@media screen and (max-width: 850px) {
.desktop-only {
display: none;
}
}
@media screen and (min-width: 850px) {
.mobile-only {
display: none;
}
}
/* For making two column layout on front page */
.split-box {
display: flex;
flex-flow: row wrap;
gap: 2em;
}
.split-box-left,
.split-box-right {
width: 30em;
max-width: 100%;
flex-grow: 1;
}
/* “New on GDPRhub” list on main page
Functionality defined by multiple pieces:
- the NewPages extension
- MediaWiki:Common.js to load the content to preview
- relies on OpenGraphMeta+Description2 extensions to provide those contents
- MediaWiki:Common.css to style the items as cards
*/
ul#new-on-gdprhub {
list-style: none;
margin-left: 0;
display: flex;
flex-flow: row wrap;
gap: 2em;
justify-content: space-evenly;
}
#new-on-gdprhub li {
width: 20em;
max-width: 100%;
flex-grow: 1;
transition: opacity 0.5s;
}
#new-on-gdprhub li a {
box-sizing: border-box;
width: 100%;
height: 10rem;
padding: 1.2rem;
border: 1px solid lightgrey;
border-radius: 4px;
box-shadow: 2px 2px 4px #33333333;
overflow: hidden;
color: inherit;
position:relative;
display: flex;
flex-flow: row nowrap;
}
#new-on-gdprhub li .card-text {
flex-grow: 1;
font-size: 0.8em;
}
#new-on-gdprhub li .card-image {
width: 100px;
flex-shrink: 0;
margin-left: 1em;
display: flex;
align-content: center;
}
#new-on-gdprhub li .card-image img {
width: 100%;
height: auto;
max-height: 100%;
max-width: 100%;
align-self: center;
}
#new-on-gdprhub li:not(.preview-loaded) {
opacity: 0.2;
}
#new-on-gdprhub li .card-title {
margin-top: 0;
}
#new-on-gdprhub li .card-description {
}
#new-on-gdprhub li.preview-loaded a::after {
content: '→ Read more';
font-size: 0.8rem;
display: block;
position: absolute;
bottom:0;
left: 0;
width: 100%;
padding: 1.2rem 0 0.2rem 1.2rem;
background: linear-gradient(#ffffff00, #ffffffee 50%);
}
/* Style the “most active contributors” table on the main page */
.contributionscores {
border: none;
}
.contributionscores td:nth-child(1),
.contributionscores th:nth-child(1),
.contributionscores td:nth-child(2),
.contributionscores th:nth-child(2) {
/* Hide rank & score columns */
display: none;
}
.contributionscores tbody {
display: block;
max-height: 40em;
overflow-y: auto;
overflow-x: hidden; /* prevents horizontal scrollbar in Chromium */
position: relative;
}
.contributionscores tr.header {
/* Keep column headers visible */
position: sticky; /* Not working in Chromium. whatever. */
top: 0;
}
.contributionscores tr.header th {
border: none;
}
.contributionscores-title {
display: none;
}
/* We use sitenotice/localnotice to show the banner image (if any) */
#localNotice {
border: none;
background: none;
box-shadow: none;
text-align: center;
}
#localNotice p,
.random-banner-container p {
margin: 0;
text-align: center;
}
.random-banner-container img {
width: auto !important;
height: auto !important;
max-width: 100% !important;
}
/* Hide unless only-child: No risk of flicker when there is only one option */
.random-banner-container:not(.ready) > *:not(:only-child) {
opacity: 0;
}
/* Display only the first child to reserve space for one banner (assumes all options are the same size) */
.random-banner-container:not(.ready) > :not(:first-child) {
display: none;
}
/* Colour the GDPRhub country reporter log in button */
button#mw-input-pluggableauthlogin {
background-color: #9a0a7c;
border-color: #9a0a7c;
}
/* Make “Forgot your password?” button less misleading */
a[title="Special:PasswordReset"]::after {
content: ' (note: if you are a country reporter and lost your password: don’t click here but send us a message!)';
font-size: smaller;
color: black;
}
/* Remove cat background image from theme */
#mw-content-container {
background-image: none;
}
/* Advanced Search */
iframe[src*="search-embed"] {
/* Rule below makes it fit in the window height; but with the long filter list,
* this may result in a scrollbar for the filters: not so pretty.
*/
/*max-height: calc(100vh - 50px);*/
}
/* Change Günay
Navigationbar */
.p-navbar {
background-color: #ffffff;
margin-top: 0.9375rem;
-webkit-box-shadow: none;
box-shadow: none;
min-height: 1px;
margin-bottom: 0;
border-bottom: 4px solid #9c0a7d;
border-top: 4px solid #9c0a7d;
padding: 0.125rem 0 0.125rem 0;
position: sticky !important;
}
/* dropbar Nav */
.dropup, .dropright, .dropdown, .dropleft {
position: relative;
font-size: revert;
/* text-transform: uppercase; */
font-weight: bold;
background-color: #ffffff;
z-index: 1000;
}
.dropdown-item:hover, .p-navbar .navbar-nav .ul .dropdown-menu > div > a:last-child:first-child:hover,
.dropdown-item:focus, .p-navbar .navbar-nav .dropdown-menu > div > a:last-child:first-child:focus {
color: #355A83;
text-decoration: none;
background: #bebebe linear-gradient(180deg,#eceff1,#e9ecef) repeat-x;
z-index:1000;
}
.dropdown-item, .p-navbar .navbar-nav .dropdown-menu > div > a:first-child:last-child {
display: block;
width: 100%;
padding: 0.25rem 1.5rem;
clear: both;
font-weight: 400;
color: #355a83;
text-align: inherit;
white-space: nowrap;
background-color: #ffffff;
border: 0;
font-weight: bold;
z-index: 1000;
}
.dropdown-item:hover, .p-navbar .navbar-nav .dropdown-menu > div > a:last-child:first-child:hover, .dropdown-item:focus, .p-navbar .navbar-nav .dropdown-menu > div > a:last-child:first-child:focus {
color: #212529;
text-decoration: none;
background: #bebebe linear-gradient(180deg,#eceff1,#e9ecef) repeat-x;
font-weight: bold;
}
/* Stil für die SearchBar
.component-SearchBar .form-control {
margin-top: 10px;
border: none;
box-shadow: none;
}*/
/* Stil for the PersonalTools-Menü right top right */
.component-PersonalTools ul.dropdown-menu {
border-bottom: none;
border: none; /* no Border */
box-shadow: none; /* no shadow */
}
#p-personal .p-personal-tools,
.p-personal .p-personal-tools {
position: relative;
display: inline-block;
}
#p-personal .p-personal-tools .dropdown-menu,
.p-personal .p-personal-tools .dropdown-menu {
display: none;
position: absolute;
background-color: #ffffff;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
#p-personal .p-personal-tools:hover .dropdown-menu,
.p-personal .p-personal-tools:hover .dropdown-menu {
display: block;
}
#p-personal .p-personal-tools .dropdown-item,
.p-personal .p-personal-tools .dropdown-item {
display: block;
padding: 0.25rem 1.5rem;
clear: both;
font-weight: bold;
color: #355a83;
text-align: inherit;
white-space: nowrap;
background-color: #ffffff;
border: 0;
font-weight: bold;
}
#p-personal .p-personal-tools .dropdown-item:hover,
.p-personal .p-personal-tools .dropdown-item:focus {
color: #212529;
text-decoration: none;
background: #bebebe linear-gradient(180deg,#eceff1,#e9ecef) repeat-x;
font-weight: bold;
}
#stickyGrid {
background: #ffffff !important;
position: sticky !important;
background-color: #ffffff !important;
top: 0;
width: 100%;
font-size: 2em;
z-index: 999; /* Falls nötig, um sicherzustellen, dass das Element vor anderen Elementen liegt */
}
.header.container.sticky {
background-color: #ffffff;
position: sticky !important;
left: 0.5px;
bottom: auto;
top: 0px;
/* width: 1140px; */
}
/*
.sticky {
position: sticky !important;
}
.sticky-spacer {
display: none !important;
}
*/
.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl {
width: 100%;
padding-right: 0px; /* do not change */
padding-left: 0px; /* do not change */
margin-right: auto;
margin-left: auto;
/* margin-bottom: -30px; */
}
.input-group {
margin-top: 20px;
}
.no-gutters {
margin-right: 0;
margin-left: 0;
margin-top: 10px;
}
.footer-info, .footer-places, .footer-icons {
/* margin-left: -0.5rem;
margin-right: -0.5rem;
margin-top: 20px; */
}
/* Stil for dropdown-menü */
.dropdown-menu {
box-shadow: none;
}
.mb-0, .my-0 {
z-index: 1000;
}
/* selectbox covered by navbar fix: */
.oo-ui-defaultOverlay {
z-index: 1001;
}
/* Logo on the left - attention if you put the banner back change to center */
.justify-content-center, .pagetools, .pagetools .tab-group {
justify-content: left !important;
}
/* menu links override */
/*.nav-link {*/
/* font-weight: normal !important;*/
/*}*/
.mw-list-item > a {
font-weight: normal !important;
}
.dropdown-toggle {
font-weight: normal !important;
}
/* menu icons */
.n-About-us:before {
background-image: url("https://test.gdprhub.eu/images/7/7c/About.png");
background-size: 16px 16px;
display: inline-block;
width: 16px;
height: 16px;
content: "";
margin-right: 0.5em !important;
vertical-align: middle;
}
.n-Visit-noyb\.eu:before {
background-image: url("https://gdprhub.eu/images/9/94/Noyb.png");
background-size: 16px 16px;
display: inline-block;
width: 16px;
height: 16px;
content: "";
margin-right: 0.5em !important;
vertical-align: middle;
}
.n-Support-us\!:before {
background-image: url("https://gdprhub.eu/images/8/86/Support_us.png");
background-size: 16px 16px;
display: inline-block;
width: 16px;
height: 16px;
content: "";
margin-right: 0.5em !important;
vertical-align: middle;
}
.n-Get-GDPRtoday\!:before {
background-image: url("https://gdprhub.eu/images/e/ec/Newsletter.png");
background-size: 16px 16px;
display: inline-block;
width: 16px;
height: 16px;
content: "";
margin-right: 0.5em !important;
vertical-align: middle;
}
.n-LinkedIn:before {
background-image: url("https://gdprhub.eu/images/1/1a/Linkedin.png");
background-size: 16px 16px;
display: inline-block;
width: 16px;
height: 16px;
content: "";
margin-right: 0.5em !important;
vertical-align: middle;
}
.n-Mastodon:before {
background-image: url("https://gdprhub.eu/images/e/ef/Mastodon.png");
background-size: 16px 16px;
display: inline-block;
width: 16px;
height: 16px;
content: "";
margin-right: 0.5em !important;
vertical-align: middle;
}
.n-X-\/-Twitter:before {
background-image: url("https://gdprhub.eu/images/a/a5/X.png");
background-size: 16px 16px;
display: inline-block;
width: 16px;
height: 16px;
content: "";
margin-right: 0.5em !important;
vertical-align: middle;
}
.n-RSS-feed:before {
background-image: url("https://gdprhub.eu/images/d/da/Rss_feed.png");
background-size: 16px 16px;
display: inline-block;
width: 16px;
height: 16px;
content: "";
margin-right: 0.5em !important;
vertical-align: middle;
}
.n-Add-a-decision:before {
background-image: url("https://gdprhub.eu/images/7/79/Add_decision.png");
background-size: 16px 16px;
display: inline-block;
width: 16px;
height: 16px;
content: "";
margin-right: 0.5em !important;
vertical-align: middle;
}
.n-Edit-a-page:before {
background-image: url("https://gdprhub.eu/images/f/f2/Edit_page.png");
background-size: 16px 16px;
display: inline-block;
width: 16px;
height: 16px;
content: "";
margin-right: 0.5em !important;
vertical-align: middle;
}
.n-Style-Guide:before {
background-image: url("https://gdprhub.eu/images/3/3d/Style_guide.png");
background-size: 16px 16px;
display: inline-block;
width: 16px;
height: 16px;
content: "";
margin-right: 0.5em !important;
vertical-align: middle;
}
.n-Country-Reporter:before {
background-image: url("https://gdprhub.eu/images/6/64/Country_reporter_v3.png");
background-size: 16px 16px;
display: inline-block;
width: 16px;
height: 16px;
content: "";
margin-right: 0.5em !important;
vertical-align: middle;
}
.n-Send-a-hint\!:before {
background-image: url("https://gdprhub.eu/images/0/0f/Hint.png");
background-size: 16px 16px;
display: inline-block;
width: 16px;
height: 16px;
content: "";
margin-right: 0.5em !important;
vertical-align: middle;
}
.n-Sponsorship:before {
background-image: url("https://gdprhub.eu/images/0/02/Sponsorship.png");
background-size: 16px 16px;
display: inline-block;
width: 16px;
height: 16px;
content: "";
margin-right: 0.5em !important;
vertical-align: middle;
}
.toc h2 {
display: block !important;
border: 0;
padding: 0;
font-size: 100%;
font-weight: normal;
border-bottom: solid 1px #9C0A7D;
text-align: left;
}
/* Toolbar Fix */
.ve-init-mw-desktopArticleTarget-toolbar {
margin-top: -50px;
padding-top: 50px;
}
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
top: 55px !important;
}
/* blockquote { - ORIGINAL FORMATTING
margin-left: 1rem;
margin-right: 1rem;
} */
.blockquote {
margin: 0 2em;
}
.quote--wrapper {
display: flex;
margin-bottom: 1em;
}
.quote--img {
display: flex;
justify-content: center;
width: 100px;
}
.quote--img a {
display: block;
margin: auto;
}
.quote--img img {
width: 40px;
height: auto;
}
.quote {
padding: 0.8rem;
margin: 0 2em 0 0.5em;
border: 1px solid;
border-radius: 10px;
}
.quote--charter {
background-color: #ffe88e;
border-color: #ffcc00;
}
.quote--cjeu {
background-color: #d7ffe7;
border-color: #a0eec0;
}
.quote--example {
background-color: #E1DAEE;
border-color: #674471;
}
.quote--edpb-guidelines {
background-color: #cfe2ff;
border-color: #b6d4fe;
}
.quote--common-mistake {
background-color: #f8d7da;
border-color: #f5c2c7;
}
.cjeu-reference {
font-size: 80%;
font-style: italic;
}
.charter-reference {
font-size: 80%;
font-style: italic;
}
.edpb-reference {
font-size: 80%;
font-style: italic;
}
.quote p {
margin-bottom: 0;
}