From 2a58a7b52325fb223dbbf837e827721b1064efb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D9=83=D8=A7=D8=B1=D9=84=20=D9=85=D8=A8=D8=A7=D8=B1=D9=83?= Date: Wed, 7 Jul 2021 18:56:26 +0200 Subject: [PATCH] some styling, topics/chapters are collapsed by default --- front/src/App.vue | 9 +---- front/src/components/Content/Chapter.vue | 50 ++++++++++++++++++++++++ front/src/components/Content/index.vue | 31 ++++++--------- front/src/components/Rules/index.vue | 2 +- front/src/components/Streams/Stream.vue | 8 +++- front/src/components/Streams/index.vue | 3 +- 6 files changed, 72 insertions(+), 31 deletions(-) create mode 100644 front/src/components/Content/Chapter.vue diff --git a/front/src/App.vue b/front/src/App.vue index 081c3b7..bd50c6c 100644 --- a/front/src/App.vue +++ b/front/src/App.vue @@ -209,14 +209,7 @@ section p { margin-bottom: 0; margin-top: 0; } -section .title { - display: none; - font-weight: bold; - position: sticky; - top: 1em; -} - @media print { - .title { display: none; } + /* .title { display: none; } */ } diff --git a/front/src/components/Content/Chapter.vue b/front/src/components/Content/Chapter.vue new file mode 100644 index 0000000..99d3906 --- /dev/null +++ b/front/src/components/Content/Chapter.vue @@ -0,0 +1,50 @@ + + + + + \ No newline at end of file diff --git a/front/src/components/Content/index.vue b/front/src/components/Content/index.vue index 6a01929..cfce587 100644 --- a/front/src/components/Content/index.vue +++ b/front/src/components/Content/index.vue @@ -1,36 +1,30 @@ \ No newline at end of file diff --git a/front/src/components/Streams/index.vue b/front/src/components/Streams/index.vue index 2a806a5..e74b438 100644 --- a/front/src/components/Streams/index.vue +++ b/front/src/components/Streams/index.vue @@ -1,6 +1,6 @@