Skip to content

Commit

Permalink
fix checkbox styles
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverSpeir committed Sep 13, 2023
1 parent e96ad43 commit 71d7790
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
22 changes: 11 additions & 11 deletions src/styles/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
;@tailwind base;
@tailwind base;
@tailwind components;
@tailwind utilities;


/* link icons */
@layer components {
article.prose *:is(h1, h2, h3, h4, h5, h6) {
@apply flex items-center gap-2;
}
}


/* side bar scrollbar */

.sidebar::-webkit-scrollbar-track {
Expand Down Expand Up @@ -77,20 +85,12 @@ pre code span {

@media (prefers-color-scheme: light) {
pre code span {
background-color: #1f2937
background-color: rgb(43,52,64)
}
}


/* heading link icons */

@layer components {
article.prose *:is(h1, h2, h3, h4, h5, h6) {
@apply flex items-center gap-2;
}
}

/* max-width was getting skipped by critters somehow */
/* max width with critters */

.maxwidth {
max-width: 10rem;
Expand Down
8 changes: 4 additions & 4 deletions tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ module.exports = {
textDecoration: 'none',
},
},
'ul.contains-task-list': {
listStyleType: 'none',
marginLeft: "-2.45rem"
},
'ul.contains-task-list li.task-list-item input[type="checkbox"]': {
marginRight: "0.8rem",
width: "1.25rem",
height: "1rem",
marginBottom: "0rem !important",
marginTop: "0rem !important"
},
'ol.contains-task-list li.task-list-item input[type="checkbox"]': {
marginRight: "0.8rem",
width: "1.25rem",
height: "1rem",
marginBottom: "0rem !important",
marginTop: "0rem !important"
},
},
},
Expand Down

0 comments on commit 71d7790

Please sign in to comment.