mirror of
https://github.com/rolfiee/wiki.git
synced 2025-06-18 11:15:33 -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!
|
||||
permalink: /404.html
|
||||
layout: default
|
||||
collection: en-US
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Error! 404!
|
||||
|
@ -3,7 +3,7 @@ layout: compress
|
||||
---
|
||||
|
||||
<!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>
|
||||
{% include head.html %}
|
||||
</head>
|
||||
|
@ -3,7 +3,7 @@ layout: compress
|
||||
---
|
||||
|
||||
<!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>
|
||||
<meta http-equiv="refresh" content="0; URL={{ page.destination }}">
|
||||
|
||||
|
@ -3,7 +3,7 @@ layout: compress
|
||||
---
|
||||
|
||||
<!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>
|
||||
{% include head.html %}
|
||||
</head>
|
||||
|
@ -578,18 +578,28 @@ a.footnote::after {
|
||||
> summary.accordion-button {
|
||||
color: $header-color;
|
||||
|
||||
// Padding for chevron
|
||||
html[dir=ltr] & {
|
||||
padding-right: 40px;
|
||||
}
|
||||
html[dir=rtl] & {
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
&::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
html[dir=ltr] &::after {
|
||||
&::after {
|
||||
position: absolute;
|
||||
right: 1rem;
|
||||
}
|
||||
top: 35%;
|
||||
|
||||
html[dir=rtl] &::after {
|
||||
position: absolute;
|
||||
left: 1rem;
|
||||
html[dir=ltr] & {
|
||||
right: 1rem;
|
||||
}
|
||||
html[dir=rtl] & {
|
||||
left: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user