mirror of
https://github.com/rvtr/wiki.git
synced 2025-06-18 19:15:35 -04:00
Fix a couple CSS problems
This commit is contained in:
parent
a0608ac12d
commit
ceee54360b
2
404.md
2
404.md
@ -3,7 +3,7 @@ title: Error 404
|
|||||||
description: Oh no! This page doesn't exist!
|
description: Oh no! This page doesn't exist!
|
||||||
permalink: /404.html
|
permalink: /404.html
|
||||||
layout: default
|
layout: default
|
||||||
collection: en-US
|
lang: en-US
|
||||||
---
|
---
|
||||||
|
|
||||||
# Error! 404!
|
# Error! 404!
|
||||||
|
@ -3,7 +3,7 @@ layout: compress
|
|||||||
---
|
---
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{{ page.collection | default: "en-US" }}" {% if site.data.rtl contains page.collection %}dir="rtl"{% endif %}>
|
<html lang="{{ page.lang | default: "en-US" }}" dir="{% if site.data.rtl contains page.collection %}rtl{% else %}ltr{% endif %}">
|
||||||
<head>
|
<head>
|
||||||
{% include head.html %}
|
{% include head.html %}
|
||||||
</head>
|
</head>
|
||||||
|
@ -3,7 +3,7 @@ layout: compress
|
|||||||
---
|
---
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{{ page.collection | default: "en-US" }}" {% if site.data.rtl contains page.collection %}dir="rtl"{% endif %}>
|
<html lang="{{ page.collection | default: "en-US" }}" dir="{% if site.data.rtl contains page.collection %}rtl{% else %}ltr{% endif %}">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="refresh" content="0; URL={{ page.destination }}">
|
<meta http-equiv="refresh" content="0; URL={{ page.destination }}">
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ layout: compress
|
|||||||
---
|
---
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{{ page.lang | default: "en-US" }}" {% if site.data.rtl contains page.collection %}dir="rtl"{% endif %}>
|
<html lang="{{ page.lang | default: "en-US" }}" dir="{% if site.data.rtl contains page.collection %}rtl{% else %}ltr{% endif %}">
|
||||||
<head>
|
<head>
|
||||||
{% include head.html %}
|
{% include head.html %}
|
||||||
</head>
|
</head>
|
||||||
|
@ -578,18 +578,28 @@ a.footnote::after {
|
|||||||
> summary.accordion-button {
|
> summary.accordion-button {
|
||||||
color: $header-color;
|
color: $header-color;
|
||||||
|
|
||||||
|
// Padding for chevron
|
||||||
|
html[dir=ltr] & {
|
||||||
|
padding-right: 40px;
|
||||||
|
}
|
||||||
|
html[dir=rtl] & {
|
||||||
|
padding-left: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
&::-webkit-details-marker {
|
&::-webkit-details-marker {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
html[dir=ltr] &::after {
|
&::after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 1rem;
|
top: 35%;
|
||||||
}
|
|
||||||
|
|
||||||
html[dir=rtl] &::after {
|
html[dir=ltr] & {
|
||||||
position: absolute;
|
right: 1rem;
|
||||||
left: 1rem;
|
}
|
||||||
|
html[dir=rtl] & {
|
||||||
|
left: 1rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user