mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-05-06 10:06:36 +00:00
deploy: c8fc9b74ea
This commit is contained in:
parent
7fdccacc44
commit
75d3c480e7
323 changed files with 9501 additions and 9393 deletions
|
@ -27,6 +27,11 @@ code.copy-to-clipboard-code {
|
|||
border-top-right-radius: 2px;
|
||||
border-right-width: 1px;
|
||||
}
|
||||
span > code.copy-to-clipboard-code {
|
||||
border-end-end-radius: 2px;
|
||||
border-start-end-radius: 2px;
|
||||
border-inline-end-width: 1px;
|
||||
}
|
||||
pre {
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
|
48
css/ie.css
48
css/ie.css
|
@ -1,4 +1,50 @@
|
|||
@media all and (-ms-high-contrast:none) {
|
||||
/* turn off LTR support as it is dependend on CSS properties that aren't supported by IE11 */
|
||||
article,
|
||||
.toc-wrapper,
|
||||
.tags {
|
||||
direction: ltr;
|
||||
}
|
||||
blockquote {
|
||||
border-left: 10px solid rgba( 134, 134, 134, .4 );
|
||||
padding-left: 0.85rem;
|
||||
}
|
||||
blockquote cite {
|
||||
text-align: right;
|
||||
}
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
.disableInlineCopyToClipboard span > code.copy-to-clipboard-code {
|
||||
border-bottom-right-radius: 2px;
|
||||
border-top-right-radius: 2px;
|
||||
border-right-width: 1px;
|
||||
}
|
||||
.anchor {
|
||||
margin-left: .66em;
|
||||
}
|
||||
div.attachments .box-content {
|
||||
padding-left: 1.75rem;
|
||||
}
|
||||
.expand > .expand-label > .expand-rtl.direction-rtl {
|
||||
display: none;
|
||||
}
|
||||
.expand > .expand-label > .expand-ltr.direction-rtl {
|
||||
display: inline-block;
|
||||
}
|
||||
.expand.expand-expanded > .expand-label > .fa-chevron-right {
|
||||
display: none;
|
||||
}
|
||||
#body .tab-nav-button {
|
||||
margin-left: 4px;
|
||||
}
|
||||
#body .tab-nav-button.direction-rtl {
|
||||
float: left;
|
||||
}
|
||||
#body .tab-nav-button:first-child {
|
||||
margin-left: 9px;
|
||||
}
|
||||
|
||||
/* set default colors as in variant.css for IE11 */
|
||||
body {
|
||||
background-color: #ffffff; /* var(--MAIN-BG-color) */
|
||||
|
@ -416,9 +462,7 @@
|
|||
background-color: #ffffff !important; /* var(--MAIN-BG-color) */
|
||||
border-bottom-color: #ffffff !important; /* var(--MAIN-BG-color) */
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (-ms-high-contrast:none) {
|
||||
/* set further styles to fix broken stuff in IE11 */
|
||||
|
||||
/* turn off animiation in IE because this causes the menu
|
||||
|
|
|
@ -174,7 +174,7 @@ th, td {
|
|||
padding: 0.425rem 0; }
|
||||
|
||||
th {
|
||||
text-align: left; }
|
||||
text-align: start; }
|
||||
|
||||
body {
|
||||
font-size: 1rem;
|
||||
|
@ -214,7 +214,7 @@ ul, ol {
|
|||
|
||||
blockquote {
|
||||
margin: 1.5rem 0;
|
||||
padding-left: 0.85rem; }
|
||||
padding-inline-start: 0.85rem; }
|
||||
|
||||
cite {
|
||||
display: block;
|
||||
|
|
|
@ -12,12 +12,16 @@
|
|||
font-size: .9rem;
|
||||
font-weight: 500;
|
||||
line-height: 1.42857143;
|
||||
margin-left: 4px;
|
||||
margin-inline-start: 4px;
|
||||
padding: 6px 12px;
|
||||
position: relative;
|
||||
}
|
||||
#body .tab-nav-button.direction-rtl {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#body .tab-nav-button:first-child {
|
||||
margin-left: 9px;
|
||||
margin-inline-start: 9px;
|
||||
}
|
||||
#body .tab-nav-button:not(.active) {
|
||||
border-bottom-color: rgba( 134, 134, 134, .1 );
|
||||
|
|
|
@ -406,7 +406,7 @@ h2, h3, .article-subheading, h4, h5, h6 {
|
|||
}
|
||||
|
||||
blockquote {
|
||||
border-left: 10px solid rgba( 134, 134, 134, .4 );
|
||||
border-inline-start: 10px solid rgba( 134, 134, 134, .4 );
|
||||
}
|
||||
|
||||
blockquote p {
|
||||
|
@ -421,7 +421,7 @@ blockquote cite {
|
|||
font-weight: bold;
|
||||
opacity: .5;
|
||||
padding-top: .5em;
|
||||
text-align: right;
|
||||
text-align: end;
|
||||
}
|
||||
|
||||
/* colored boxes */
|
||||
|
@ -461,7 +461,7 @@ div.box > .box-content {
|
|||
div.attachments .box-content {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding-left: 1.75rem;
|
||||
padding-inline-start: 1.75rem;
|
||||
}
|
||||
|
||||
/* Children shortcode */
|
||||
|
@ -536,6 +536,15 @@ code.copy-to-clipboard-code {
|
|||
border-right-width: 0;
|
||||
}
|
||||
|
||||
span > code.copy-to-clipboard-code {
|
||||
border-bottom-right-radius: 2px;
|
||||
border-top-right-radius: 2px;
|
||||
border-right-width: 1px;
|
||||
border-end-end-radius: 0;
|
||||
border-start-end-radius: 0;
|
||||
border-inline-end-width: 0;
|
||||
}
|
||||
|
||||
pre {
|
||||
border-radius: 2px;
|
||||
border-style: solid;
|
||||
|
@ -546,12 +555,18 @@ pre {
|
|||
padding: 1rem;
|
||||
}
|
||||
|
||||
pre.pre-code,
|
||||
pre:has( code ){
|
||||
/* the :has() operator isn't available in FF yet, so we patch this by JS */
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
pre code {
|
||||
background-color: inherit;
|
||||
border: 0;
|
||||
color: inherit;
|
||||
-webkit-print-color-adjust: economy;
|
||||
color-adjust: economy;
|
||||
border: 0;
|
||||
font-size: 15px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
@ -924,6 +939,13 @@ span.nav i{
|
|||
padding-left: 22px;
|
||||
}
|
||||
|
||||
span > .copy-to-clipboard-button {
|
||||
border-start-start-radius: 0;
|
||||
border-start-end-radius: 2px;
|
||||
border-end-end-radius: 2px;
|
||||
border-end-start-radius: 0;
|
||||
}
|
||||
|
||||
.copy-to-clipboard-button > i {
|
||||
font-size: 92%;
|
||||
font-weight: 500;
|
||||
|
@ -935,7 +957,7 @@ span.nav i{
|
|||
padding-right: 5px;
|
||||
}
|
||||
|
||||
pre .copy-to-clipboard-button {
|
||||
pre > .copy-to-clipboard-button {
|
||||
background-color: rgba( 160, 160, 160, .2 );
|
||||
border-radius: 2px;
|
||||
border-style: solid;
|
||||
|
@ -946,14 +968,14 @@ pre .copy-to-clipboard-button {
|
|||
top: 4px;
|
||||
}
|
||||
|
||||
.disableInlineCopyToClipboard :not(pre) > code.copy-to-clipboard-code + span.copy-to-clipboard-button {
|
||||
.disableInlineCopyToClipboard span > code.copy-to-clipboard-code + span.copy-to-clipboard-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.disableInlineCopyToClipboard :not(pre) > code.copy-to-clipboard-code {
|
||||
border-bottom-right-radius: 2px;
|
||||
border-top-right-radius: 2px;
|
||||
border-right-width: 1px;
|
||||
.disableInlineCopyToClipboard span > code.copy-to-clipboard-code {
|
||||
border-end-end-radius: 2px;
|
||||
border-start-end-radius: 2px;
|
||||
border-inline-end-width: 1px;
|
||||
}
|
||||
|
||||
#homelinks {
|
||||
|
@ -988,6 +1010,7 @@ option {
|
|||
.expand > .expand-label > .fa-chevron-down {
|
||||
display: none;
|
||||
}
|
||||
.expand > .expand-label > .fa-chevron-left,
|
||||
.expand > .expand-label > .fa-chevron-right {
|
||||
display: inline-block;
|
||||
}
|
||||
|
@ -996,6 +1019,7 @@ option {
|
|||
.expand.expand-expanded > .expand-label > .fa-chevron-down {
|
||||
display: inline-block;
|
||||
}
|
||||
.expand.expand-expanded > .expand-label > .fa-chevron-left,
|
||||
.expand.expand-expanded > .expand-label > .fa-chevron-right {
|
||||
display: none;
|
||||
}
|
||||
|
@ -1004,6 +1028,7 @@ option {
|
|||
.expand:not(.expand-expanded).expand-marked > .expand-label > .fa-chevron-down {
|
||||
display: inline-block;
|
||||
}
|
||||
.expand:not(.expand-expanded).expand-marked > .expand-label > .fa-chevron-left,
|
||||
.expand:not(.expand-expanded).expand-marked > .expand-label > .fa-chevron-right {
|
||||
display: none;
|
||||
}
|
||||
|
@ -1012,6 +1037,12 @@ option {
|
|||
display: block !important;
|
||||
}
|
||||
|
||||
/* turn off unsuitable expander for this reading direction */
|
||||
.expand > .expand-label > .expand-rtl.direction-ltr,
|
||||
.expand > .expand-label > .expand-ltr.direction-rtl {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#body footer.footline{
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
@ -1132,7 +1163,7 @@ option {
|
|||
width: auto;
|
||||
}
|
||||
|
||||
.progress .wrapper {
|
||||
.progress .toc-wrapper {
|
||||
background-color: rgba( 134, 134, 134, .066 );
|
||||
}
|
||||
|
||||
|
@ -1205,7 +1236,7 @@ option {
|
|||
.anchor {
|
||||
cursor: pointer;
|
||||
font-size: .5em;
|
||||
margin-left: .66em;
|
||||
margin-inline-start: .66em;
|
||||
margin-top: .9em;
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue