diff --git a/src/components/Pages/about/DogmaPage.tsx b/src/components/Pages/about/DogmaPage.tsx index 061432ed..cf764cd4 100644 --- a/src/components/Pages/about/DogmaPage.tsx +++ b/src/components/Pages/about/DogmaPage.tsx @@ -7,7 +7,7 @@ export const DogmaPage = () => {
Редакционные принципы
Дискурс - журнал с открытой горизонтальной редакцией. Содержание журнала определяется прямым
diff --git a/src/components/Pages/about/GuidePage.tsx b/src/components/Pages/about/GuidePage.tsx
index 15366782..3b55056f 100644
--- a/src/components/Pages/about/GuidePage.tsx
+++ b/src/components/Pages/about/GuidePage.tsx
@@ -21,7 +21,7 @@ export const GuidePage = () => {
Как устроен Дискурс
diff --git a/src/components/Pages/about/HelpPage.tsx b/src/components/Pages/about/HelpPage.tsx
index d96355fa..6e0275bd 100644
--- a/src/components/Pages/about/HelpPage.tsx
+++ b/src/components/Pages/about/HelpPage.tsx
@@ -18,7 +18,7 @@ export const HelpPage = () => {
Как вы можете поддержать Дискурс?
diff --git a/src/components/Pages/about/ManifestPage.tsx b/src/components/Pages/about/ManifestPage.tsx
index bcbd7a69..4b42465e 100644
--- a/src/components/Pages/about/ManifestPage.tsx
+++ b/src/components/Pages/about/ManifestPage.tsx
@@ -22,7 +22,7 @@ export const ManifestPage = () => {
Манифест
diff --git a/src/components/Pages/about/PartnersPage.tsx b/src/components/Pages/about/PartnersPage.tsx
index 410ba866..3db7c4eb 100644
--- a/src/components/Pages/about/PartnersPage.tsx
+++ b/src/components/Pages/about/PartnersPage.tsx
@@ -8,7 +8,7 @@ export const PartnersPage = () => {
{t('Partners')}
{title}
diff --git a/src/components/Pages/about/ProjectsPage.tsx b/src/components/Pages/about/ProjectsPage.tsx
index 45c4b0e1..f78c25ff 100644
--- a/src/components/Pages/about/ProjectsPage.tsx
+++ b/src/components/Pages/about/ProjectsPage.tsx
@@ -8,7 +8,7 @@ export const ProjectsPage = () => {
{t('Projects')}
Пользовательское соглашение
diff --git a/src/components/Pages/about/ThanksPage.tsx b/src/components/Pages/about/ThanksPage.tsx
index b516e4c6..6f6938d1 100644
--- a/src/components/Pages/about/ThanksPage.tsx
+++ b/src/components/Pages/about/ThanksPage.tsx
@@ -12,7 +12,7 @@ export const ThanksPage = () => {
{title}
diff --git a/src/styles/app.scss b/src/styles/app.scss
index 1372872d..0b63000e 100644
--- a/src/styles/app.scss
+++ b/src/styles/app.scss
@@ -75,6 +75,7 @@ h2 {
.wrapped {
background: #000;
color: #fff;
+ margin-left: -0.15em;
padding: 0 0.15em;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
@@ -650,9 +651,37 @@ astro-island {
details {
margin-bottom: 1.5em;
- summary h3 {
- display: inline-block;
- cursor: pointer;
- margin-bottom: 0;
+ summary {
+ display: block;
+ position: relative;
+
+ &::marker {
+ display: none;
+ }
+
+ h3 {
+ display: inline-block;
+ cursor: pointer;
+ margin-bottom: 0;
+
+ &:before {
+ content: '';
+ background: url(/icons/expand.svg) no-repeat;
+ background-size: contain;
+ height: 1.3rem;
+ margin-right: 0.5em;
+ position: absolute;
+ right: 100%;
+ top: 0.35em;
+ transition: transform 0.3s;
+ width: 2rem;
+ }
+ }
+ }
+
+ &[open] {
+ h3:before {
+ transform: rotate(180deg);
+ }
}
}