Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update style.css - More space between icon and text on boxes + figures #1526

Merged
merged 2 commits into from
Oct 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 13 additions & 18 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -469,13 +469,11 @@ pre {
background: none;
}

.good figcaption, .bad figcaption, .ok figcaption,
.good p, .bad p, .ok p {
.good figcaption, .bad figcaption, .ok figcaption, .good p, .bad p, .ok p {
font-weight: bold;
caption-side: bottom;
padding-left: 1.2rem;
padding-left: 1.35rem;
font-weight: 700;
margin: 0.5rem 0 6px;
line-height: initial;
position: relative;
}
Expand Down Expand Up @@ -876,7 +874,6 @@ blockquote :last-child {
max-width: 100%;
width: auto !important;
border: 10px solid #eee;
outline: 1px solid #ccc;
background-color: #eee;
}

Expand All @@ -896,7 +893,7 @@ blockquote :last-child {
width: 16px;
position: absolute;
left: 0px;
top:2px;
top:3px;
}

.rule-content figure figcaption.bad-example:before {
Expand All @@ -913,7 +910,6 @@ blockquote :last-child {
content: "\f11a ";
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
text-decoration: inherit;
color: #777;
}
Expand All @@ -934,7 +930,7 @@ blockquote :last-child {
.good-example figure figcaption::before,
.bad-example figure figcaption::before,
.ok-example figure figcaption::before {
padding-left: 1.5rem;
padding-left: 1.35rem;
}

.good-example figure figcaption::after,
Expand All @@ -946,7 +942,7 @@ div.good-example .custom-block-heading::after {
width: 16px;
position: absolute;
left: 0px;
top:2px;
top:3px;
}

.bad-example figure figcaption::after,
Expand All @@ -958,7 +954,7 @@ div.bad-example .custom-block-heading::after {
width: 16px;
position: absolute;
left: 0px;
top:2px;
top:3px;
}

.ok-example figure figcaption::after,
Expand All @@ -968,12 +964,11 @@ div.ok-example .custom-block-heading::after {
content: "\f11a ";
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
text-decoration: inherit;
color: #777;
position: absolute;
left: 0px;
top:2px;
top:3px;
}

div.ok-example .custom-block-heading,
Expand All @@ -983,7 +978,6 @@ div.greybox .custom-block-heading{
caption-side: bottom;
display: table-caption;
font-weight: 700;
margin: 0.5rem 0.5rem 6px;
line-height: initial;
position: relative;
}
Expand Down Expand Up @@ -1017,11 +1011,13 @@ div.bad-example {
}

.rule-content video, .rule-content iframe:not(.utterances-frame) {
background-color: #f5f5f5;
padding: 4px;
background-color: #eee;
padding: 5px;
margin-bottom: 1rem;
}

.gatsby-resp-iframe-wrapper {margin-bottom:.5rem;}

.rule-content video pre, .rule-content iframe pre {
display: block;
padding: 9.5px;
Expand Down Expand Up @@ -1067,7 +1063,7 @@ div.bad-example {
}

.info > *, .china > *, .codeauditor > * {
padding-left: 2.5rem;
padding-left: 3rem;
}

.info > ol, .china > ol, .codeauditor > ol, .info > ul, .china > ul, .codeauditor > ul {
Expand All @@ -1084,7 +1080,6 @@ div.bad-example {

.info:before, .codeauditor:before, .china:before {
overlay: auto;
margin-right: 1rem;
position: fixed;
}

Expand Down Expand Up @@ -2548,7 +2543,7 @@ margin-bottom: 1em;
-------------------------------------------------- */

.email-template {
margin: 1rem 0 .25rem;
margin: 1rem 0 .5rem;
background-color: #eee;
display: inline-block;
width: 100%;
Expand Down
Loading