Skip to content

Instantly share code, notes, and snippets.

@nonaybay
Created January 31, 2021 04:30
Show Gist options
  • Save nonaybay/f961a6640eef4bd9b26c4f0f57b195c8 to your computer and use it in GitHub Desktop.
Save nonaybay/f961a6640eef4bd9b26c4f0f57b195c8 to your computer and use it in GitHub Desktop.
* {
box-sizing: border-box;
border: none;
margin: 0;
outline: none;
padding: 0;
}
*::before, *::after {
box-sizing: inherit;
}
:root {
font-family: "Lato", "Roboto", sans-serif;
font-size: 16px;
font-style: normal;
font-weight: normal;
line-height: 1.5;
}
body {
width: 210mm;
min-height: 297mm;
font: inherit;
font-size: 14px;
line-height: 1.5;
color: #141823;
}
p {
font-family: "Lato", "Verdana", sans-serif;
font-size: 1em;
font-weight: normal;
}
h6, table tr th, h5, h4, .subheadline, h3, h2, h1 {
font-family: "Poppins", "Lato", "Verdana", sans-serif;
font-size: 1em;
font-weight: 500;
}
h5, h4, .subheadline, h3, h2, h1 {
font-size: 1.15em;
}
h4, .subheadline, h3, h2, h1 {
font-size: 1.3em;
}
h3, h2, h1 {
font-size: 1.5em;
}
h2, h1 {
font-size: 1.75em;
}
h1 {
font-size: 2em;
}
.subheadline {
font-weight: 300;
}
header {
display: flex;
flex-direction: row;
justify-content: space-between;
align-content: center;
align-items: center;
text-align: center;
height: 8em;
border-bottom: 0.0714285714em solid #00b2e2;
padding: 0 1em;
color: #2453ff;
}
header .box {
width: 100%;
display: inherit;
flex-direction: inherit;
justify-content: center;
align-content: inherit;
align-items: inherit;
text-align: inherit;
}
header .box__left {
text-align: left;
text-transform: uppercase;
}
header .box__left h4, header .box__left h3, header .box__left h2, header .box__left h1, header .box__left .subheadline {
display: flex;
align-content: flex-start;
justify-content: flex-start;
line-height: 1em;
margin-top: 0;
margin-bottom: 0.5em;
}
header .box__left div {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
}
header .box__left div:last-of-type {
justify-content: center;
height: 4em;
width: 4em;
color: white;
background-color: #2453ff;
text-align: center;
align-content: center;
align-items: center;
border-radius: 0.125em;
}
header .box__left div:last-of-type h1 {
width: 100%;
height: 100%;
display: block;
line-height: 2.5em;
}
header .box__center::after {
display: block;
content: "";
background-image: url("./index.svg");
width: 100%;
height: 9.2em;
width: 9.2em;
background-size: contain;
}
header .box__right {
width: 100%;
flex-direction: column;
text-align: right;
justify-content: center;
align-content: flex-end;
align-items: flex-end;
}
main {
padding: 1em;
text-align: center;
}
table {
width: 100%;
border-collapse: collapse;
border-color: #B3E8F6;
border-style: solid;
border-width: 0.0625em;
margin-top: 1.5em;
}
table tr th, table tr td {
padding: 0.25em 1em;
border: 0.0625em solid #B3E8F6;
}
table tr th {
color: #0c322c;
background-color: #B3E8F6;
}
table tr .group_name {
width: 25%;
text-align: justify;
}
table tr .contrib, table tr .interd, table tr .csg, table tr .cotas {
width: 18.75%;
text-align: right;
}
table tr .contrib::before, table tr .interd::before, table tr .csg::before, table tr .cotas::before {
display: inline-block;
content: "R$";
float: left;
}
table tr .contrib.empty::before, table tr .interd.empty::before, table tr .csg.empty::before, table tr .cotas.empty::before {
display: block;
content: "-";
text-align: center;
width: 100%;
}
table tr.final {
background-color: #00b2e2;
text-transform: uppercase;
font-weight: 700;
}
table tr.final * {
border-color: rgba(255, 255, 255, 0.55);
color: #141823;
}
/*# sourceMappingURL=index.css.map */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment