User:Ccdcoe530/common.css: Difference between revisions

From International cyber law: interactive toolkit
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
@import url('https://fonts.googleapis.com/css?family=Archivo:400,500,700');

body {
background-color: #F2F2F2;
}

body,
.mw-body-content {
font-family: 'Archivo', sans-serif !important;
font-size: 16px !important;
color: #012169 !important;
line-height: 1.6em !important;
}

#mw-panel {
width: 216px;
background-color: #F2F2F2;
padding: 0;
}

#p-logo {
#p-logo {
opacity: 0.6 !important;
width: 216px;
height: auto;
}

#p-logo .mw-wiki-logo {
margin: 0 auto;
}

#mw-panel .portal {
margin: 0 24px;
}

#mw-panel .portal h3 {
margin: 0;
margin-top: 24px;
font-size: 16px;
color: #82868B;
border-bottom: 1px solid #979797;
}

#mw-head {
background-color: #fff;
}

.mw-body {
border: 0;
}

.navigation-wrapper {
background: #f2f2f2;
display: flex;
}

#left-navigation {
margin: 0;
}

#right-navigation {
display: flex;
align-items: center;
margin: 0;
margin-left: auto;
}

.mw-body,
#mw-head-base,
#left-navigation,
#footer {
margin-left: 216px;
}

#mw-panel .portal .body {
margin: 0 !important;
}

#mw-panel .portal .body li {
padding: 0;
}

#mw-panel .portal .body li a,
#mw-panel .portal .body li a:visited {
color: #012169;
font-size: 16px;
font-weight: 500;
display: block;
padding: 8px 0;
line-height: 1.1;
-webkit-transition: color 0.3s ease;
transition: color 0.3s ease;
}

#mw-panel .portal .body li a:hover,
#mw-panel .portal .body li a:focus {
color: #00B5E2;
text-decoration: none;
}

#p-personal li {
margin: 0 8px;
}

#p-personal li a,
#p-personal li a.new,
#p-personal li a.new:visited {
font-size: 16px;
font-weight: 500;
color: #012169;
padding: 8px 0;
line-height: 1.1;
-webkit-transition: color 0.3s ease;
transition: color 0.3s ease;
}

#p-personal li a:hover,
#p-personal li a:focus,
#p-personal li a.new:visited:hover {
color: #00B5E2;
text-decoration: none;
}

#p-personal {
height: 56px;
display: flex;
flex-direction: row-reverse;
position: static;
}

#p-personal ul {
display: flex;
align-items: center;
margin-right: 18px;
}

#pt-userpage a,
#pt-anonuserpage {
background-position: left center;
padding-left: 24px !important;
}

.vectorTabs {
background: transparent;
height: auto;
}

.vectorTabs span {
display: block;
}

.vectorTabs ul {
display: flex;
align-items: center;
background: transparent;
height: auto;
margin-left: -1px;
border-top: 1px solid #f2f2f2;
}


.vectorTabs ul li {
background: #F2F2F2;
}

.vectorTabs li.selected {
background: #fff;
}

.vectorTabs ul li span {
background: transparent;
}

.vectorTabs li a,
.vectorTabs li.new a,
.vectorTabs li.new a:visited {
color: #012169;
font-size: 16px;
padding: 12px 16px;
display: flex;
align-items: center;
-webkit-transition: color 0.3s ease;
transition: color 0.3s ease;
}

.vectorTabs li a:hover,
.vectorTabs li.selected a {
color: #00B5E2 !important;
text-decoration: none;
}

.vectorTabs #ca-unwatch.icon a,
.vectorTabs #ca-watch.icon a {
background-position: 50% 50%;
height: 54px;
text-indent: -999999px;
padding: 0;
}

#p-cactions {
height: 100%;
display: flex;
align-items: center;
}

#mw-head .vectorMenu h3 {
background: transparent;
height: auto;
}

#mw-head .vectorMenu h3 span {
color: #012169;
font-size: 16px;
padding: 8px 16px;
-webkit-transition: color 0.3s ease;
transition: color 0.3s ease;
}

#mw-head #p-cactions.vectorMenu:hover h3 span {
color: #00B5E2;
}

#mw-head .vectorMenu h3 span:after {
top: 0;
}

.vectorMenu .menu {
top: 100%;
background: #f2f2f2;
border: 0;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.vectorMenu .menu ul li {
text-align: center;
}

.vectorMenu .menu li a {
color: #012169;
font-size: 14px;
padding: 8px;
-webkit-transition: color 0.3s ease;
transition: color 0.3s ease;
}

.vectorMenu .menu li a:hover {
color: #00B5E2;
text-decoration: none;
}

#mw-head-base {
height: 110px;
}

/* --- Search input --- */

#p-search {
display: flex;
height: 100%;
margin-right: 24px;
}

#p-search form,
#p-search input {
margin: 0;
height: 100%;
display: flex;
align-items: center;

}

#simpleSearch {
background: #fff;
margin: 0;
height: 38px;
border: 1px solid #F2F2F2;
border-radius: 3px;
}

#simpleSearch:hover {
border-color: #012169;
}

#simpleSearch #searchInput {
padding: 8px;
font-size: 16px;
color: #82868B;
}

#simpleSearch #searchButton {
padding: 16px;
}

#simpleSearch #searchButton:focus {
outline: 0;
}

/* --- Content --- */
#mp-left,
#mp-right,
#mp-lower {
background-color: #fff !important;
border: 1px solid #E6E6E6 !important;
padding: 24px !important;
border-radius: 3px !important;
}

#mp-right {
border: 0 !important;
padding-left: 10px !important;
padding-right: 0 !important;
}

#mp-left {
border: 0 !important;
padding-left: 0 !important;
padding-right: 10px !important;
}

div#content h1,
div#content h2 {
font-family: 'Archivo', sans-serif;
}

#mp-tfa-h2,
#mp-itn-h2,
#mp-dyk-h2,
#mp-otd-h2,
#mp-other {
color: #012169 !important;
font-size: 34px !important;
background: transparent !important;
border: 0 !important;
padding: 0 !important;
margin: 0 !important;
margin-bottom: 16px !important;
font-weight: normal !important;
}

#mp-tfa {
color: #012169;
}

#mp-itn,
#mp-tfa,
#mp-dyk,
#mp-otd,
#mp-other-content {
padding: 0 !important;
}

#bodyContent a,
.mw-parser-output a.external,
a.new,
#p-personal a.new {
color: #00B5E2;
}

#mp-other-content ul {
margin: 0;
list-style: none;
}

#mp-other-content ul li {
margin-bottom: 6px;
}

.firstHeading {
border: 0;
}

/* --- Card --- */
.card-wrapper {
padding: 24px;
border: 1px solid #E6E6E6;
border-radius: 3px;
}

.card-wrapper--gray {
background-color: #F2F2F2;
}

.card-wrapper + .card-wrapper,
#mp-upper .card-wrapper + h2 {
margin-top: 24px !important;
}

/* --- Footer --- */
.catlinks {
border: 1px solid #E6E6E6;
background-color: #F2F2F2;
border-radius: 3px;
padding: 8px 24px;
margin-top: 24px;
}

#footer {
padding-left: 0;
}

#footer #footer-info li {
color: #82868B;
font-size: 14px;
line-height: 24px;
}

#footer #footer-info li a {
color: #012169;
}

#footer #footer-info li a:hover {
color: #00B5E2;
}

#footer #footer-places li,
#footer #footer-places li a {
color: #012169;
font-size: 14px;
line-height: 24px;
}

/* --- Responsive --- */
@media only screen and (max-width: 1200px) {
#simpleSearch {
width: 150px;
}
}
}

Revision as of 11:44, 20 March 2019

@import url('https://fonts.googleapis.com/css?family=Archivo:400,500,700');

body {
    background-color: #F2F2F2;
}

body,
.mw-body-content {
    font-family: 'Archivo', sans-serif !important;
    font-size: 16px !important;
    color: #012169 !important;
    line-height: 1.6em !important;
}

#mw-panel {
    width: 216px;
    background-color: #F2F2F2;
    padding: 0;
}

#p-logo {
    width: 216px;
    height: auto;
}

#p-logo .mw-wiki-logo {
    margin: 0 auto;
}

#mw-panel .portal {
    margin: 0 24px;
}

#mw-panel .portal h3 {
    margin: 0;
    margin-top: 24px;
    font-size: 16px;
    color: #82868B;
    border-bottom: 1px solid #979797;
}

#mw-head {
    background-color: #fff;
}

.mw-body {
    border: 0;
}

.navigation-wrapper {
    background: #f2f2f2;
    display: flex;
}

#left-navigation {
    margin: 0;
}

#right-navigation {
    display: flex;
    align-items: center;
    margin: 0;
    margin-left: auto;
}

.mw-body,
#mw-head-base,
#left-navigation,
#footer {
    margin-left: 216px;
}

#mw-panel .portal .body {
    margin: 0 !important;
}

#mw-panel .portal .body li {
    padding: 0;
}

#mw-panel .portal .body li a,
#mw-panel .portal .body li a:visited {
    color: #012169;
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 8px 0;
    line-height: 1.1;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

#mw-panel .portal .body li a:hover,
#mw-panel .portal .body li a:focus {
    color: #00B5E2;
    text-decoration: none;
}

#p-personal li {
    margin: 0 8px;
}

#p-personal li a,
#p-personal li a.new,
#p-personal li a.new:visited {
    font-size: 16px;
    font-weight: 500;
    color: #012169;
    padding: 8px 0;
    line-height: 1.1;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

#p-personal li a:hover,
#p-personal li a:focus,
#p-personal li a.new:visited:hover {
    color: #00B5E2;
    text-decoration: none;
}

#p-personal {
    height: 56px;
    display: flex;
    flex-direction: row-reverse;
    position: static;
}

#p-personal ul {
    display: flex;
    align-items: center;
    margin-right: 18px;
}

#pt-userpage a,
#pt-anonuserpage {
    background-position: left center;
    padding-left: 24px !important;
}

.vectorTabs {
    background: transparent;
    height: auto;
}

.vectorTabs span {
    display: block;
}

.vectorTabs ul {
    display: flex;
    align-items: center;
    background: transparent;
    height: auto;
    margin-left: -1px;
    border-top: 1px solid #f2f2f2;
}


.vectorTabs ul li {
    background: #F2F2F2;
}

.vectorTabs li.selected {
    background: #fff;
}

.vectorTabs ul li span {
    background: transparent;
}

.vectorTabs li a,
.vectorTabs li.new a,
.vectorTabs li.new a:visited {
    color: #012169;
    font-size: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.vectorTabs li a:hover,
.vectorTabs li.selected a {
    color: #00B5E2 !important;
    text-decoration: none;
}

.vectorTabs #ca-unwatch.icon a,
.vectorTabs #ca-watch.icon a {
    background-position: 50% 50%;
    height: 54px;
    text-indent: -999999px;
    padding: 0;
}

#p-cactions {
    height: 100%;
    display: flex;
    align-items: center;
}

#mw-head .vectorMenu h3 {
    background: transparent;
    height: auto;
}

#mw-head .vectorMenu h3 span {
    color: #012169;
    font-size: 16px;
    padding: 8px 16px;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

#mw-head #p-cactions.vectorMenu:hover h3 span {
    color: #00B5E2;
}

#mw-head .vectorMenu h3 span:after {
    top: 0;
}

.vectorMenu .menu {
    top: 100%;
    background: #f2f2f2;
    border: 0;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.vectorMenu .menu ul li {
    text-align: center;
}

.vectorMenu .menu li a {
    color: #012169;
    font-size: 14px;
    padding: 8px;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.vectorMenu .menu li a:hover {
    color: #00B5E2;
    text-decoration: none;
}

#mw-head-base {
    height: 110px;
}

/* --- Search input --- */

#p-search {
    display: flex;
    height: 100%;
    margin-right: 24px;
}

#p-search form,
#p-search input {
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;

}

#simpleSearch {
    background: #fff;
    margin: 0;
    height: 38px;
    border: 1px solid #F2F2F2;
    border-radius: 3px;
}

#simpleSearch:hover {
    border-color: #012169;
}

#simpleSearch #searchInput {
    padding: 8px;
    font-size: 16px;
    color: #82868B;
}

#simpleSearch #searchButton {
    padding: 16px;
}

#simpleSearch #searchButton:focus {
    outline: 0;
}

/* --- Content --- */
#mp-left,
#mp-right,
#mp-lower {
    background-color: #fff !important;
    border: 1px solid #E6E6E6 !important;
    padding: 24px !important;
    border-radius: 3px !important;
}

#mp-right {
    border: 0 !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

#mp-left {
    border: 0 !important;
    padding-left: 0 !important;
    padding-right: 10px !important;
}

div#content h1,
div#content h2 {
    font-family: 'Archivo', sans-serif;
}

#mp-tfa-h2,
#mp-itn-h2,
#mp-dyk-h2,
#mp-otd-h2,
#mp-other {
    color: #012169 !important;
    font-size: 34px !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-bottom: 16px !important;
    font-weight: normal !important;
}

#mp-tfa {
    color: #012169;
}

#mp-itn,
#mp-tfa,
#mp-dyk,
#mp-otd,
#mp-other-content {
    padding: 0 !important;
}

#bodyContent a,
.mw-parser-output a.external,
a.new,
#p-personal a.new {
    color: #00B5E2;
}

#mp-other-content ul {
    margin: 0;
    list-style: none;
}

#mp-other-content ul li {
    margin-bottom: 6px;
}

.firstHeading {
    border: 0;
}

/* --- Card --- */
.card-wrapper {
    padding: 24px;
    border: 1px solid #E6E6E6;
    border-radius: 3px;
}

.card-wrapper--gray {
    background-color: #F2F2F2;
}

.card-wrapper + .card-wrapper,
#mp-upper .card-wrapper + h2 {
    margin-top: 24px !important;
}

/* --- Footer --- */
.catlinks {
    border: 1px solid #E6E6E6;
    background-color: #F2F2F2;
    border-radius: 3px;
    padding: 8px 24px;
    margin-top: 24px;
}

#footer {
    padding-left: 0;
}

#footer #footer-info li {
    color: #82868B;
    font-size: 14px;
    line-height: 24px;
}

#footer #footer-info li a {
    color: #012169;
}

#footer #footer-info li a:hover {
    color: #00B5E2;
}

#footer #footer-places li,
#footer #footer-places li a {
    color: #012169;
    font-size: 14px;
    line-height: 24px;
}

/* --- Responsive --- */
@media only screen and (max-width: 1200px) {
    #simpleSearch {
        width: 150px;
    }
}