Fix(Structure): Split styles.css into separate files for different components and sections.
This commit is contained in:
24
styles/github-contributions-calendar.css
Normal file
24
styles/github-contributions-calendar.css
Normal file
@@ -0,0 +1,24 @@
|
||||
/* GitHub Contributions Calendar */
|
||||
.github-calendar {
|
||||
width: fit-content;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
/* Hide broken statistics */
|
||||
.github-calendar > :not(:first-child) {
|
||||
display: none;
|
||||
}
|
||||
/* Hide the "How we calculate contributions" text */
|
||||
.github-calendar .js-calendar-graph .width-full .float-left {
|
||||
display: none;
|
||||
}
|
||||
/* Change title text */
|
||||
.github-calendar table.js-calendar-graph-table > caption:first-child {
|
||||
color: transparent;
|
||||
font-size: 0;
|
||||
}
|
||||
.github-calendar table.js-calendar-graph-table > caption:first-child::before {
|
||||
content: "GitHub Contributions Calendar";
|
||||
color: var(--text-colour);
|
||||
font-size: 1rem;
|
||||
}
|
||||
Reference in New Issue
Block a user