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-...")
 
Line 1: Line 1:
.large-header {
+
* {
    position: relative;
+
  border: none;
    width: 100%;
+
  margin: 0;
    background: #111;
+
}
    overflow: hidden;
+
html,
    background-size: cover;
+
body {
    background-position: center center;
+
  width: 100%;
    z-index: 1;
+
  height: 100%;
}
+
  overflow: hidden;
 
+
}
.demo .large-header {
+
canvas {
    background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/499416/demo-bg.jpg");
+
  background: white;
}
+
  background: radial-gradient(#FFF, #DDD);
 
+
  transform-origin: 0 0;
.main-title {
+
  width: 100%;
    position: absolute;
+
  height: 100%;
    margin: 0;
+
}
    padding: 0;
+
.ui {
    color: #F9F1E9;
+
  display: none;
    text-align: center;
+
  position: fixed;
    top: 50%;
+
  z-index: 5;
    left: 50%;
+
  bottom: 0;
    -webkit-transform: translate3d(-50%, -50%, 0);
+
  left: 0;
    transform: translate3d(-50%, -50%, 0);
+
  width: 120px;
}
+
  padding: 10px;
 
+
  background: rgba(255, 255, 255, 0.7);
.demo .main-title {
+
}
    text-transform: uppercase;
+
.ui p {
    font-size: 4.2em;
+
  font-size: 11px;
    letter-spacing: 0.1em;
+
  font-weight: 700;
}
+
}
 
+
.ui p.zoom {
.main-title .thin {
+
  margin-bottom: 5px;
    font-weight: 200;
+
}
}  
+
.ui p.zoom span {
 
+
  margin-right: 5px;
@media only screen and (max-width: 768px) {
+
  border: solid 1px #777;
    .demo .main-title {
+
  cursor: pointer;
      font-size: 3em;
+
  border-radius: 2px;
    }
+
}
}
+
.ui p.zoom span.zoomin {
 +
  padding: 2px 5px;
 +
}
 +
.ui p.zoom span.zoomout {
 +
  padding: 2px 8px;
 +
}
 +
.ui p.zoom span:hover {
 +
  background: black;
 +
  color: white;
 +
}

Revision as of 13:26, 4 August 2020

* {
  border: none;
  margin: 0;
}
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
canvas {
  background: white;
  background: radial-gradient(#FFF, #DDD);
  transform-origin: 0 0;
  width: 100%;
  height: 100%;
}
.ui {
  display: none;
  position: fixed;
  z-index: 5;
  bottom: 0;
  left: 0;
  width: 120px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
}
.ui p {
  font-size: 11px;
  font-weight: 700;
}
.ui p.zoom {
  margin-bottom: 5px;
}
.ui p.zoom span {
  margin-right: 5px;
  border: solid 1px #777;
  cursor: pointer;
  border-radius: 2px;
}
.ui p.zoom span.zoomin {
  padding: 2px 5px;
}
.ui p.zoom span.zoomout {
  padding: 2px 8px;
}
.ui p.zoom span:hover {
  background: black;
  color: white;
}