Fine Print CSS

网页打印 CSS

MS Learning

@media print {
.has-padding-bottom-none {
  padding-top:0!important;
  
}
.title.is-2 {
    font-size: 1.25rem;
}
div.section {
padding: 0!important;
}

.columns.has-large-gaps>.column {
    padding-left: 5px;
    padding-right: 5px;
}

a:visited {
color: hsla(206,100%,35%,1);
}

body {
  color: black;
}
#main-column, .has-top-padding.uhf-container, .mainContainer, .columns.has-large-gaps>.column   {
  padding-top: 0;
  
}

.content h1:first-of-type {
  margin-top: 0;
}
  .box {
    box-shadow: unset;
  }

  .section {
    padding: unset;
  }
  

  div.page-rating.level,#parent-learning-paths,#module-actions,.is-hidden-desktop,div.alert.top-alert.is-hidden-portrait, div.modular-content-container.has-margin-top-medium.has-margin-bottom-medium, div.footerContainer, #interactive-container, #next-section, ul.metadata.page-metadata,
  nav.pagination, div.xp-tag {
    display: none;
}
  .table td, .table th {
    border-top: 1px solid hsla(0,0%,89%,1);
  }

  div.codeHeader {
    display: none;
  }

  div.codeHeader + pre {
    border: 1px solid hsla(0,0%,89%,1);
    background-color: hsla(0,0%,98%,1);
    margin-top: 16px;
  }



.alert.is-success {
    background-color: hsla(120,77%,90%,1);
    border: 1px solid hsla(120,77%,90%,.999);
}

  .alert {
    color: hsla(206,100%,15%,1);
}

.alert.is-primary {
    background-color: hsla(205,100%,94%,1);
    border: 1px solid hsla(205,100%,94%,.999);
}


  .docon {
    font-family: docons;
    font-size: 16px;
    speak: none;
    display: inline-block;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    text-align: center;
    direction: ltr;
    line-height: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

.docon-status-info-outline:before {
    content: "\FF09";
}



@font-face {
    font-family:docons;
    src:url(https://docs.microsoft.com/_themes/docs.theme/master/en-us/_themes/styles/docons.eebb1c3a.woff2);
    font-weight:400;
    font-style:normal
}

}

Author: njun
njun's picture
Updated: 2021/09/18