Skip to content

Commit

Permalink
Fix: Details summary padding
Browse files Browse the repository at this point in the history
  • Loading branch information
PROxZIMA committed Jun 9, 2022
1 parent f8df0c7 commit c0f059a
Showing 1 changed file with 24 additions and 14 deletions.
38 changes: 24 additions & 14 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,51 @@
---
@import "jekyll-theme-dracula";

summary {
list-style: none;
details>summary {
list-style: none;
}

summary::-webkit-details-marker {
display: none;
details>summary::-webkit-details-marker {
display: none;
}

details>summary::before {
content: "";
content: "";
padding-inline-end: 8px;
}

details[open]>summary::before {
content: " ";
content: "";
}

[dir="rtl"] details>summary::before {
content: "";
}

[dir="rtl"] details[open]>summary::before {
content: "";
}


.highlight .err {
color: #ff79c6 !important;
background-color: transparent !important;
color: #ff79c6 !important;
background-color: transparent !important;
}

section img {
box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22) !important;
-webkit-box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22) !important;
border-radius: 0.25rem !important;
box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22) !important;
-webkit-box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22) !important;
border-radius: 0.25rem !important;
}

pre {
border-radius: 0.35rem !important;
border-radius: 0.35rem !important;
}

code {
border-radius: 0.15rem !important;
border-radius: 0.15rem !important;
}

#header nav li a {
border-radius: 0.25rem !important;
border-radius: 0.25rem !important;
}

0 comments on commit c0f059a

Please sign in to comment.