Fix a couple CSS problems

This commit is contained in:
Pk11 2021-06-28 07:27:54 -05:00
parent a0608ac12d
commit ceee54360b
5 changed files with 20 additions and 10 deletions

2
404.md
View File

@ -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!

View File

@ -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>

View File

@ -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 }}">

View File

@ -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>

View File

@ -578,20 +578,30 @@ 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;
top: 35%;
html[dir=ltr] & {
right: 1rem; right: 1rem;
} }
html[dir=rtl] & {
html[dir=rtl] &::after {
position: absolute;
left: 1rem; left: 1rem;
} }
} }
}
> .faq { > .faq {
background-color: $active-accordian-bg-color; background-color: $active-accordian-bg-color;