mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
theme: fix some sizing issues in content on small font sizes #466
This commit is contained in:
parent
aed71ab886
commit
a40e3685d4
2 changed files with 5 additions and 16 deletions
|
@ -50,7 +50,7 @@
|
||||||
padding-right: 2rem;
|
padding-right: 2rem;
|
||||||
}
|
}
|
||||||
blockquote {
|
blockquote {
|
||||||
border-left: 10px solid rgba( 134, 134, 134, .4 );
|
border-left: .6rem solid rgba( 134, 134, 134, .4 );
|
||||||
}
|
}
|
||||||
blockquote cite {
|
blockquote cite {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
@ -125,7 +125,6 @@
|
||||||
border-top-right-radius: 2px;
|
border-top-right-radius: 2px;
|
||||||
border-bottom-right-radius: 2px;
|
border-bottom-right-radius: 2px;
|
||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
padding-left: 22px;
|
|
||||||
}
|
}
|
||||||
span > .copy-to-clipboard-button {
|
span > .copy-to-clipboard-button {
|
||||||
border-top-left-radius: 0;
|
border-top-left-radius: 0;
|
||||||
|
@ -133,12 +132,7 @@
|
||||||
border-bottom-right-radius: 2px;
|
border-bottom-right-radius: 2px;
|
||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
}
|
}
|
||||||
.copy-to-clipboard-button > i {
|
|
||||||
margin-left: -22px;
|
|
||||||
}
|
|
||||||
pre > .copy-to-clipboard-button {
|
pre > .copy-to-clipboard-button {
|
||||||
padding-left: 25px;
|
|
||||||
padding-right: 3px;
|
|
||||||
right: 4px;
|
right: 4px;
|
||||||
}
|
}
|
||||||
.disableInlineCopyToClipboard span > code.copy-to-clipboard-code {
|
.disableInlineCopyToClipboard span > code.copy-to-clipboard-code {
|
||||||
|
|
|
@ -476,7 +476,7 @@ h2, h3, h4, h5, h6 {
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
border-inline-start: 10px solid rgba( 134, 134, 134, .4 );
|
border-inline-start: .6rem solid rgba( 134, 134, 134, .4 );
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote p {
|
blockquote p {
|
||||||
|
@ -490,7 +490,7 @@ blockquote cite {
|
||||||
display: block;
|
display: block;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
opacity: .5;
|
opacity: .5;
|
||||||
padding-top: .5em;
|
padding-top: .5rem;
|
||||||
text-align: end;
|
text-align: end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1010,7 +1010,6 @@ html[dir="rtl"] #body #breadcrumbs {
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: .934375rem;
|
font-size: .934375rem;
|
||||||
padding-inline-start: 22px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
span > .copy-to-clipboard-button {
|
span > .copy-to-clipboard-button {
|
||||||
|
@ -1023,7 +1022,6 @@ span > .copy-to-clipboard-button {
|
||||||
.copy-to-clipboard-button > i {
|
.copy-to-clipboard-button > i {
|
||||||
font-size: .859625rem;
|
font-size: .859625rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin-inline-start: -22px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.copy-to-clipboard-code + .copy-to-clipboard-button > i {
|
.copy-to-clipboard-code + .copy-to-clipboard-button > i {
|
||||||
|
@ -1037,10 +1035,7 @@ pre > .copy-to-clipboard-button {
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
inset-inline-end: 4px;
|
inset-inline-end: 4px;
|
||||||
padding-bottom: 5px;
|
padding: 5px 3px;
|
||||||
padding-inline-start: 25px;
|
|
||||||
padding-inline-end: 3px;
|
|
||||||
padding-top: 5px;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 4px;
|
top: 4px;
|
||||||
}
|
}
|
||||||
|
@ -1415,7 +1410,7 @@ rapi-doc::part(btn) {
|
||||||
rapi-doc::part(section-endpoint-head-method) {
|
rapi-doc::part(section-endpoint-head-method) {
|
||||||
/* makes method marker large enough to not overflow on text DELETE */
|
/* makes method marker large enough to not overflow on text DELETE */
|
||||||
font-size: .6875rem;
|
font-size: .6875rem;
|
||||||
width: 5.5em;
|
width: 5.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.select-container i {
|
.select-container i {
|
||||||
|
|
Loading…
Reference in a new issue