From f15ecdd5fadae9169c8b35e0bf8a1786d57563a7 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Mon, 18 May 2020 10:15:49 +0200 Subject: Frontend rework --- core/src/main/resources/dokka/styles/style.css | 28 ++++++++++++-------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'core/src/main/resources') diff --git a/core/src/main/resources/dokka/styles/style.css b/core/src/main/resources/dokka/styles/style.css index da9e7d01..b7ab5c7a 100644 --- a/core/src/main/resources/dokka/styles/style.css +++ b/core/src/main/resources/dokka/styles/style.css @@ -419,12 +419,8 @@ footer { } .platform-tags { - flex: auto; + flex: 0 0 auto; display: flex; - flex-direction: row; - align-items: flex-start; - justify-content: flex-end; - height: 24px; } .platform-tags > .platform-tag { @@ -446,7 +442,7 @@ footer { color: white; } -.platform-tag.nth-child(4) { +.platform-tag:nth-child(4) { background-color: gray; color: white; } @@ -463,7 +459,14 @@ td.content { flex-direction: column; } -.title-row > a { +.main-subrow { + display: flex; + flex-direction: row; + padding: 0; + justify-content: space-between; +} + +.main-subrow > a { text-decoration: none; font-style: normal; font-weight: 600; @@ -471,21 +474,16 @@ td.content { color: #282E34; } -.title-row > a:hover { +.main-subrow > a:hover { color: #5B5DEF; } .platform-hinted { + flex: auto; display: block; margin-bottom: 5px; } -.platform-hinted > .platform-bookmarks-row { - display: flex; - flex-direction: row; - padding: 0px; -} - .platform-hinted > .platform-bookmarks-row > .platform-bookmark { min-width: 64px; height: 36px; @@ -547,7 +545,7 @@ td.content { padding: 16px 24px 16px 24px; } -.platform-dependant-row { +.platform-dependent-row { display: grid; padding-top: 8px; } -- cgit