Skip to content

Instantly share code, notes, and snippets.

@iamsainikhil
Created July 21, 2020 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamsainikhil/072c01f4d26728f991e86f213dd453df to your computer and use it in GitHub Desktop.
Save iamsainikhil/072c01f4d26728f991e86f213dd453df to your computer and use it in GitHub Desktop.
Print styles
.wrapper {
max-width: 612px;
height: 100%;
background: #fff;
}
.report-wrapper {
margin-right: 3rem;
margin-left: 3rem;
}
.report-title {
font-size: 24px;
font-weight: 500;
line-height: 44px;
color: #05314f;
letter-spacing: -0.022em;
}
.report-subtitle {
font-size: 14px;
color: #00205b;
}
.report-date {
font-size: 14px;
color: #999;
}
.report-desc {
max-width: 500px;
margin-bottom: 1rem;
font-size: 10px;
color: #7d7d7d;
}
.logos {
position: relative;
display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: space-between;
margin-top: 6rem;
margin-bottom: 6rem;
}
.dark-color {
color: #373737;
}
.bold-text {
color: #242424;
}
.risk-score-title-wrapper {
display: flex;
flex-flow: row nowrap;
align-items: flex-start;
justify-content: flex-start;
}
.risk-score-title {
align-self: center;
margin-left: 0.5rem;
font-size: 1.5rem;
font-weight: 400;
line-height: 2rem;
color: #373737;
}
.submission-id {
margin-left: 0.5rem;
font-size: 1rem;
color: #373737;
}
.risk-score-wrapper {
margin-top: 1.5rem;
}
@media print {
@page {
box-sizing: border-box;
padding: 0;
margin: 8mm auto;
}
.page {
width: 100%;
height: 100vh;
}
.report-date {
margin-top: 0.5rem;
margin-bottom: 1rem;
}
.logos {
margin-bottom: 0;
}
.qomplx-logo {
position: absolute;
top: 0;
right: 0;
margin-right: 0;
}
.print-btn {
display: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment