Difference between revisions of "User:Loch210/Rufus style.css"

From City of Hope MUSH
Jump to navigation Jump to search
(Created page with ".large-header { position: relative; width: 100%; background: #111; overflow: hidden; background-size: cover; background-position: center center; z-...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
.large-header {
+
/***** HEADERS AND TRIANGLES *****/
    position: relative;
+
div.sheet-header {
    width: 100%;
+
  display: inline-flex;
    background: #111;
+
  float: right;
    overflow: hidden;
+
  height: 20px; }
    background-size: cover;
 
    background-position: center center;
 
    z-index: 1;
 
}
 
  
.demo .large-header {
+
div.sheet-triangle,
    background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/499416/demo-bg.jpg");
+
div.sheet-right-tri {
}
+
  border-top: 20px solid transparent; }
  
.main-title {
+
div.sheet-triangle {
    position: absolute;
+
  border-right: 30px solid #afd3e2; }
    margin: 0;
 
    padding: 0;
 
    color: #F9F1E9;
 
    text-align: center;
 
    top: 50%;
 
    left: 50%;
 
    -webkit-transform: translate3d(-50%, -50%, 0);
 
    transform: translate3d(-50%, -50%, 0);
 
}
 
  
.demo .main-title {
+
div.sheet-right-tri {
    text-transform: uppercase;
+
  border-left: 30px solid #afd3e2; }
    font-size: 4.2em;
 
    letter-spacing: 0.1em;
 
}
 
  
.main-title .thin {
+
div.sheet-right-header {
    font-weight: 200;
+
  margin-right: -8%;
}  
+
  float: left; }
  
@media only screen and (max-width: 768px) {
+
/***** BOXES FOR DIFFERENT PC SECTIONS *****/
    .demo .main-title {
+
.sheet-pc-box {
      font-size: 3em;
+
  background-color: #e7e6e5;
    }
+
  margin-left: 1.5px;
}
+
  margin-right: 1.5px;
 +
  padding-left: 5px;
 +
  padding-right: 5px;
 +
  height: auto; }
 +
 
 +
.sheet-small-box {
 +
  min-height: 150px; }
 +
 
 +
.sheet-medium-box {
 +
  min-height: 330px; }

Latest revision as of 14:18, 4 August 2020

/***** HEADERS AND TRIANGLES *****/
div.sheet-header {
  display: inline-flex;
  float: right;
  height: 20px; }

div.sheet-triangle,
div.sheet-right-tri {
  border-top: 20px solid transparent; }

div.sheet-triangle {
  border-right: 30px solid #afd3e2; }

div.sheet-right-tri {
  border-left: 30px solid #afd3e2; }

div.sheet-right-header {
  margin-right: -8%;
  float: left; }

/***** BOXES FOR DIFFERENT PC SECTIONS *****/
.sheet-pc-box {
  background-color: #e7e6e5;
  margin-left: 1.5px;
  margin-right: 1.5px;
  padding-left: 5px;
  padding-right: 5px;
  height: auto; }

.sheet-small-box {
  min-height: 150px; }

.sheet-medium-box {
  min-height: 330px; }