Commit 15ddba66 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Add watermark

parent 1ca98939
Loading
Loading
Loading
Loading
Loading
+466 KiB
Loading image diff...
+46
Changes for generateSpecWebSite/stylesheets/extra.css: 46 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -28,3 +28,49 @@
  --md-accent-fg-color:  		#005480;
  --md-line-accent-fg-color--tr:#40404080;
}

/* ============================================================
   DRAFT watermark
   ============================================================ */

   .md-main {
    position: relative;
  }
  
  .md-main::before {
    content: "";
  
    position: absolute;
    top: 350px;
    left: 50%;
  
    width: 750px;
    height: 450px;
  
    /* Use the image as a mask rather than displaying its colour */
    background-color: var(--md-draft-watermark-color);
  
    -webkit-mask-image: url("../images/draft.png");
    mask-image: url("../images/draft.png");
  
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  
    -webkit-mask-position: center;
    mask-position: center;
  
    -webkit-mask-size: contain;
    mask-size: contain;
  
    opacity: 0.15;
  
    transform: translateX(-50%);
  
    pointer-events: none;
    z-index: 0;
  }
  
  .md-main .md-content {
    position: relative;
    z-index: 1;
  }
 No newline at end of file