Changes

Jump to navigation Jump to search
771 bytes added ,  02:40, 7 December 2018
no edit summary
Line 7: Line 7:  
/* banner */
 
/* banner */
 
.mpg-banner {
 
.mpg-banner {
     background-image: url("http://wiki.aapg.org/images/3/3e/AAPG_Wiki_banner_Mar2014_large.jpg");
+
    margin-top: 24px;
 +
    margin-bottom: 20px;
 +
    padding:16px;
 +
    height:150px;
 +
    position:relative;
 +
     background-image: url("//wiki.aapg.org/images/3/3e/AAPG_Wiki_banner_Mar2014_large.jpg");
 
     background-repeat:no-repeat;
 
     background-repeat:no-repeat;
 
     background-position: top center;
 
     background-position: top center;
     background-size: 100%;
+
     background-size: cover;
     padding:16px;  
+
     color:white;
     min-width:620px;
+
     text-shadow: 0 0 4px #000;
     position:relative;
+
     font-size: 16px;
 
}
 
}
 
+
.mpg-banner a {
/* text block */
+
     color: #005386;
.mpg-banner {
+
     text-shadow: 0px 0px 5px #fff;
     width: 100%;
  −
     margin-top: 24px;
  −
    margin-bottom: 20px;
  −
    font-size: 15px;
   
}
 
}
   
.mpg-banner span.mpg-title {
 
.mpg-banner span.mpg-title {
 
     font-size: 30px;
 
     font-size: 30px;
    color: white;
   
     text-shadow: 0 0 8px #000;
 
     text-shadow: 0 0 8px #000;
 +
}
 +
.mpg-info {
 +
    font-size:20px;
 +
    color:#fff;
 +
    text-shadow: 0 0 6px #000;
 +
    position:absolute;
 +
    bottom:12px;
 +
}
 +
.mpg-credit {
 +
    position: absolute;
 +
    bottom: 8px;
 +
    right: 14px;
 +
    color: black;
 +
    text-shadow: 0 0 5px #fff;
 +
    font-size: 10px;
 +
}
 +
.mpg-text-block {
 +
    font-size: 14px;
 
}
 
}
   Line 33: Line 50:  
.mpg-wrap {
 
.mpg-wrap {
 
   overflow: hidden;
 
   overflow: hidden;
   margin: 10px;
+
   margin-top: 10px;
 +
  margin-right: -10px;
 +
  margin-bottom: 20px;
 +
  margin-left: -10px;
 
}
 
}
 
.mpg-box {
 
.mpg-box {
Line 83: Line 103:  
       width: 100%;
 
       width: 100%;
 
       padding-bottom: 100%;
 
       padding-bottom: 100%;
 +
  }
 +
  .mpg-credit {
 +
      display:none;
 +
  }
 +
  .mpg-banner span.mpg-subtitle {
 +
      display:none;
 +
  }
 +
}
 +
@media only screen and (max-width : 768px) {
 +
  /* Hide the credit before it overlaps */
 +
  .mpg-credit {
 +
      display:none;
 
   }
 
   }
 
}
 
}
Line 99: Line 131:  
   }
 
   }
 
}
 
}
 +
 +
/* remove the Discussion tab on the Main Page */
 +
body.page-Main_Page li#ca-talk { display: none !important; }
    
/* GENERAL STYLING RULES */
 
/* GENERAL STYLING RULES */
smwadministrator, Administrators
1

edit

Navigation menu