Jump to content

MediaWiki:Common.css: Difference between revisions

From Marxist Wiki
No edit summary
No edit summary
Line 4: Line 4:
     display: none;
     display: none;
}
}
 
body {
 
  color: #2a2b2d;
#jump-to-nav {
    display: none;
}
}
 
.firstHeading {
/* Make it bit more clear where in the tree the content is positioned */
  font-size: calc(20px + 2vmin);
.dropdown-content .srf-tree b {
    color: #ffcf00;
}
}
 
#p-logo img {
/* Demonstrates the creation of multi-column outputs for the list formats */
  width: 240px;
ul.smw-format.ul-format.exampleclass {
  padding: 1rem;
    column-count: 2;
}
}
ol.smw-format.ol-format.exampleclass {
@media screen and ( min-width: 1105px ) {
    column-count: 2;
  #p-search {
    float: right;
  }
}
}
 
#p-personal.pull-right .p-personal-tools,
/* Slight color difference for those marked as config tooltip */
.p-personal.pull-right .p-personal-tools {
.config-tooltip code {
  justify-content: center;
    border: 1px solid #9ec2da;
}
}
 
.p-navbar {
/**
  border-radius: .25rem;
* Sidenote link
  background-image: url(https://vocapedia.info/w/images/e/ed/Bg_music.jpg);
*/
  background-position: center;
.sidenotice-link a {
  background-attachment: fixed;
color: #78542c;
  background-blend-mode: luminosity;
font-weight: 400;
/** background-blend-mode: overlay; **/
text-decoration: none;
}
}
 
.page-Main_Page #firstHeading {
.plainlinksexample {
  text-align: center;
    background-color: orange;
  padding: 0;
}
}
/*SMWCon 2023 styles */
.page-Main_Page #contentSub {
#smwcon-2023 .agenda-block-list {
  display: none;
    padding: 0;
}
}
#smwcon-2023 .ag-item-span-text {
.page-Main_Page .banner {
    overflow: hidden;
  margin-top: 50px;
    height: auto;
  background-blend-mode: luminosity;
    min-height: 30px;
  padding: 1rem 2rem 2rem 2rem;
    max-height: 60px;
  background-image: url(https://vocapedia.info/w/images/e/ed/Bg_music.jpg);
    display: block;
  background-position: center;
    margin-bottom: 1.5em;
  background-attachment: fixed;
  background-color: #2296d9;
}
}
#smwcon-2023 .ag-item-title {
.page-Main_Page .banner .lead p {
    padding-bottom: 4px;
  color: #fff;
    line-height: 1.1em;
  font-weight: bold;
}
}
 
.page-Main_Page .banner img {
/*SMWCon 2020 Styles*/
  border: 0;
#smwcon2020 .agenda-block-header{
  border-radius: 24px;
    font-size: 24px;
  background: white;
margin-left: 0px;
  margin-top: -110px !important;
border:none;
  margin-bottom: 2rem !important;
padding: 5px 0 10px 10px;
border-radius: 0;
background: #5e9dc8;
text-shadow: none;
}
}
 
.page-Main_Page .banner .lead {
#smwcon2020 .agenda-block-header p{
  margin-bottom: 2rem;
    margin: 0px;
    padding-left: 20px;
}
}
 
.vocapedia.card-deck .card {
#smwcon2020 .agenda-block-header .ag-title {
  min-height: 240px;
    color: #ffffff;
  background-size: cover;
    font-size: 16px;
  background-position: center;
  border-width: 5px !important;
}
}
 
.vocapedia.card-deck .card a:first-of-type {
#smwcon2020 .agenda-block-header .ag-date {
  flex: 1;
    color: #ffffff;
    padding-left: 0px;
}
}
 
.vocapedia.card-deck .card a:last-of-type {
#smwcon2020 .agenda-block {
  text-decoration: none !important;
max-width: 100%;
}
}
 
.vocapedia.card-deck .card-footer {
#smwcon2020 .agenda-block-list {
  background: #48a942bb;
margin-left: 0px;
  color: #fff;
border-left: 3px solid #5e9dc8;
  font-weight: bold;
border-right: 3px solid #5e9dc8;
border-bottom: 3px solid #5e9dc8;
}
}
 
.footer-nav .navbar-nav {
#smwcon2020 .ag-push-left{
  flex: 1;
left: 0px;
  flex-wrap: wrap;
background: #5e9dc8;
  justify-content: space-between;
border-bottom-left-radius: 0px;
  align-items: start;
border-top-left-radius: 0px;
-webkit-border-bottom-left-radius: 0px;
-webkit-border-top-left-radius: 0px;
-moz-border-radius-topleft: 0px;
-moz-border-radius-bottomleft: 0px;
outline: 1px solid #5e9dc8;
text-shadow: none;
}
}
 
.footer-nav .social-nav {
#smwcon2020 .ag-push-duration{
  display: flex;
    left: 0px;
    background: #5e9dc8;
    border-radius: 0px;
    width: 80px;
    box-shadow: none;
    text-indent: 20px;
}
}
 
.footer-nav .footer-menu,
#smwcon2020 .agenda-line {
.footer-nav .social-nav {
    margin-left: 80px;
  flex: 1;
  justify-content: center;
}
}
 
.footer-nav .social-nav a:before {
#smwcon2020 .single-column .agenda-item {
  margin-right: .25rem;
    width: 95% !important;
}
}
 
.dropdown-toggle::before {
#smwcon2020 .ag-item-span-text {
  display: none !important;
    height: auto;
}
}
 
.featured-box > div:first-of-type {
#smwcon2020 .ag-item-pic-normal {
  margin: 1rem;
    margin-top: 10px;
  border: 5px solid var(--primary);
    border: 4px solid #dcf0f7;
  border-radius: 5px;
  max-height: 320px;
  overflow: hidden;
}
}
 
.featured-box > div:empty {
#smwcon2020 .ag-push-top {
  display: none;
    height: 10px;
}
}
 
.img-fit {
#smwcon2020 .ag-item-title a {
  max-width: 100%;
    color: #0c2c52;
  object-fit: cover;
  object-position: center;
}
}
 
@media screen and ( min-width: 960px ){
#smwcon2020 .ag-item-title a:hover{
  .featured-box > div:first-of-type {
    color: #0c2c52;
    margin: 1rem 1rem 1rem 0;
text-decoration: underline;
  }
  .featured-box:nth-of-type(even) > div:first-of-type {
    order: 1;
    margin: 1rem 0 1rem 1rem;
  }
  .featured-box .btn {
    float: right;
  }
  .featured-box:nth-of-type(even) .btn {
    float: none;
  }
}
}
 
.partners .p-navbar {
 
  background-color: transparent;
#smwcon2020 .ag-item-author a, #smwcon2020 .ag-item-author a:hover, #smwcon2020 .ag-item-author a:visited{
  background-image: none;
    color: #5e9dc8;
}
}
 
.partners .navbar-nav {
/* #smwcon2020 .ag-item-title a[title="Coffee"]{
  flex-wrap: wrap;
color: red;
  gap: .5rem;
} */
 
/* Some additional changes for SMWCon 2022 */
.not-in-session {
    border-top: solid 1px lightgrey;
}
}
.in-session {
.partners .partner-logo img {
    margin-left:80px;
  height: 96px;
    min-height: 0;
  width: auto;
    position: relative;
    top: -20px;
}
}
.ag-item-pic {
@media screen {
    margin: 0 10px 0 0;
a:visited {
  color: #135fa2;
}
}
.agenda-line {
    overflow: visible;
    margin-bottom: 0px;
}
}
.session-desc {
.navbar-userloggedin,
    margin-bottom: 20px;
.navbar-usernotloggedin {
  color: rgba(255,255,255,0.8) !important;
}
}


/*** SMWCon 2024 Fall Styles ***/
.navbar-userloggedin:hover,
#smwcon2024 .ag-item-text {
.navbar-usernotloggedin:hover {
    color: #333;
  color: rgba(255,255,255,1) !important;
    font-size: 1.3rem;
}
    line-height: 1.5rem;
div.editOptions {
  border: 0;
}
.contentHeader {
  margin-bottom: 1rem;
}
}
 
.vp-resources-wrap {
#smwcon2024 .ag-item-title a {
  display: none;
    font-size: 1.8rem;
}
}
 
.article-bottom .vp-resources-wrap {
#smwcon2024 .ag-item-title {
  display: block;
    line-height: 2rem;
}
}
 
.article-bottom .vp-resources-wrap ul {
#smwcon2024 .ag-item-author {line-height: 1.5rem;}
  margin: 0.3em 0 0 2.75em;
 
#smwcon2024 .agenda-block-header .ag-title {
    text-shadow: none;
    font-weight: 600;
}
}
 
h2, h3 {
#smwcon2024 .agenda-item {margin: 3px 5px 5px 20px;}
  border-bottom: 0 !important;
 
#smwcon2024 .ag-author-job {color: #333;}
 
#smwcon2024 .agenda-block-header {
    background: none;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-color: #c3cfe2;
    box-shadow: lightgrey 4px 2px 2px;
    padding: 10px 10px 5px 15px;
}
}
 
.article-form .select2-container--default .select2-selection--multiple .select2-selection__choice {
#smwcon2024 .agenda-block-header p {
  width: 100% !important;
    text-shadow: none;
}
}
#smwcon2024 .agenda-block-list {border-color: #c3cfe2;}

Revision as of 00:55, 20 March 2025

/* CSS placed here will be applied to all skins */
#footer { display: none; }
#n-help-mediawiki {
    display: none;
}
body {
   color: #2a2b2d;
}
.firstHeading {
   font-size: calc(20px + 2vmin);
}
#p-logo img {
  width: 240px;
  padding: 1rem;
}
@media screen and ( min-width: 1105px ) {
  #p-search {
     float: right;
  }
}
#p-personal.pull-right .p-personal-tools, 
.p-personal.pull-right .p-personal-tools {
  justify-content: center;
}
.p-navbar {
  border-radius: .25rem;
  background-image: url(https://vocapedia.info/w/images/e/ed/Bg_music.jpg);
  background-position: center;
  background-attachment: fixed;
  background-blend-mode: luminosity;
 /** background-blend-mode: overlay;  **/
}
.page-Main_Page #firstHeading {
   text-align: center;
   padding: 0;
}
.page-Main_Page #contentSub {
   display: none;
}
.page-Main_Page .banner {
   margin-top: 50px;
   background-blend-mode: luminosity;
   padding: 1rem 2rem 2rem 2rem;
   background-image: url(https://vocapedia.info/w/images/e/ed/Bg_music.jpg);
   background-position: center;
   background-attachment: fixed;
   background-color: #2296d9;
}
.page-Main_Page .banner .lead p {
   color: #fff;
   font-weight: bold;
}
.page-Main_Page .banner img {
   border: 0;
   border-radius: 24px;
   background: white;
   margin-top: -110px !important;
   margin-bottom: 2rem !important;
}
.page-Main_Page .banner .lead {
   margin-bottom: 2rem;
}
.vocapedia.card-deck .card {
   min-height: 240px;
   background-size: cover;
   background-position: center;
   border-width: 5px !important;
}
.vocapedia.card-deck .card a:first-of-type {
  flex: 1;
}
.vocapedia.card-deck .card a:last-of-type {
  text-decoration: none !important;
}
.vocapedia.card-deck .card-footer {
  background: #48a942bb;
  color: #fff;
  font-weight: bold;
}
.footer-nav .navbar-nav {
  flex: 1;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
}
.footer-nav .social-nav {
  display: flex;
}
.footer-nav .footer-menu,
.footer-nav .social-nav {
  flex: 1;
  justify-content: center;
}
.footer-nav .social-nav a:before {
  margin-right: .25rem;
}
.dropdown-toggle::before {
  display: none !important;
}
.featured-box > div:first-of-type {
   margin: 1rem;
   border: 5px solid var(--primary);
   border-radius: 5px;
   max-height: 320px;
   overflow: hidden;
}
.featured-box > div:empty {
  display: none;
}
.img-fit {
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}
@media screen and ( min-width: 960px ){
  .featured-box > div:first-of-type {
     margin: 1rem 1rem 1rem 0;
   }
  .featured-box:nth-of-type(even) > div:first-of-type {
     order: 1;
     margin: 1rem 0 1rem 1rem;
  }
  .featured-box .btn {
     float: right;
  }
  .featured-box:nth-of-type(even) .btn {
     float: none;
  }
}
.partners .p-navbar {
  background-color: transparent;
  background-image: none;
}
.partners .navbar-nav {
  flex-wrap: wrap;
  gap: .5rem;
}
.partners .partner-logo img {
  height: 96px;
  width: auto;
}
@media screen {
a:visited {
  color: #135fa2;
}
}
.navbar-userloggedin,
.navbar-usernotloggedin {
   color: rgba(255,255,255,0.8) !important;
}

.navbar-userloggedin:hover,
.navbar-usernotloggedin:hover {
   color: rgba(255,255,255,1) !important;
}
div.editOptions {
  border: 0;
}
.contentHeader {
  margin-bottom: 1rem;
}
.vp-resources-wrap {
  display: none;
}
.article-bottom .vp-resources-wrap {
  display: block;
}
.article-bottom .vp-resources-wrap ul {
  margin: 0.3em 0 0 2.75em;
}
h2, h3 {
  border-bottom: 0 !important;
}
.article-form .select2-container--default .select2-selection--multiple .select2-selection__choice {
  width: 100% !important;
}