diff --git a/resources/css/pages/singles.css b/resources/css/pages/singles.css index b6a741d..ae1d60b 100644 --- a/resources/css/pages/singles.css +++ b/resources/css/pages/singles.css @@ -3,6 +3,42 @@ .content-wrapper { @apply container mx-auto grid grid-cols-12 gap-12 py-12 items-start; grid-template-columns: 1fr 2fr; + &[data-active-tab='article'] { + .sidebar .search-field, + .table-matieres { + @apply hidden; + } + } + &[data-active-tab='authors'] { + .article-informations, + .article-content, + .sidebar .index-panel, + .table-matieres { + @apply hidden; + } + } + &[data-active-tab='references'] { + .article-informations, + .article-content, + .sidebar .index-panel, + .table-matieres { + @apply hidden; + } + } + &[data-active-tab='table-of-contents'] { + .article-informations, + .article-content, + .sidebar .index-panel { + @apply hidden; + } + } + &[data-active-tab='informations'] { + .article-content, + .table-matieres, + .sidebar .index-panel { + @apply hidden; + } + } } .sidebar { @@ -77,4 +113,8 @@ #cite-reference { @apply hidden; } + + .content-tab__title { + @apply text-4xl uppercase font-thin mb-12; + } }