Add featured profiles

This commit is contained in:
Cadence Ember
2020-05-29 22:44:58 +12:00
parent 474274740f
commit 82f25bb712
7 changed files with 81 additions and 1 deletions

View File

@@ -11,6 +11,9 @@ $theme: () !default
body, input, button, textarea
font-family: "Bariol", sans-serif
summary
text-decoration: underline
body
margin: 0
padding: 0
@@ -549,6 +552,43 @@ body
.link-list
color: map-get($theme, "link-power")
.featured-profiles
margin-bottom: 20px
line-height: 1.4
&:target
background-color: map-get($theme, "background-power-highlight")
margin: -6px -16px 14px
padding: 5px 15px
border-radius: 10px
border: map-get($theme, "edge-power-border")
.featured-profiles-header::before
content: "» "
summary
color: map-get($theme, "link-power")
padding-left: 2px
.featured-profile-table
line-height: 1.4
margin: 1em 0px 1px 1em
@media screen and (max-width: $layout-c-max)
line-height: 1.15
margin: 1em 0px 1px 15px
text-indent: -15px
tr
display: block
margin-bottom: 10px
td
display: inline
.username
padding-right: 6px
.structured-text
a, a:visited
color: map-get($theme, "link-primary")
@@ -712,3 +752,19 @@ body
.home-link
font-size: 21px
.details-content
border: map-get($theme, "edge-power-border")
margin-top: 5px
padding: 15px 20px
border-radius: 5px
line-height: 1.4
p
margin: 0.6em 0
> p:first-child
margin-top: 0
> p:last-child
margin-bottom: 0

View File

@@ -12,5 +12,6 @@ $theme: map-merge(classic.$theme, (
"background-power-pale": #7cc4ff,
"background-banner-success": #173d6f,
"link-power": #91cbfd,
"edge-power-border": 1px solid #91cbfd,
"edge-power-divider": 1px solid #3b496a
));

View File

@@ -49,6 +49,7 @@ $theme: (
"edge-thumbnail-hover": solid #111,
"edge-go-control": 1px solid #333,
"edge-power-divider": 1px solid #714141,
"edge-power-border": 1px solid #ffb9b7,
"edge-alert": 2px solid #aaa,
"shadow-down": 0px -2px 4px 4px rgba(0, 0, 0, 0.4),
"shadow-right": -2px 0px 4px 4px rgba(0, 0, 0, 0.4),

View File

@@ -42,6 +42,7 @@ $theme: map-merge(classic.$theme, (
"edge-context-divider": 2px solid #000,
"edge-thumbnail-hover": solid #ffffff,
"edge-go-control": 1px solid #000,
"edge-power-border": 1px solid #666,
"edge-power-divider": 1px solid #343a40,
"shadow-down": none,
"shadow-right": none,

View File

@@ -42,6 +42,7 @@ $theme: map-merge(classic.$theme, (
"edge-context-divider": 2px solid #ffffff,
"edge-thumbnail-hover": solid #ffffff,
"edge-go-control": 1px solid #000,
"edge-power-border": 1px solid #666,
"edge-power-divider": 1px solid #343a40,
"shadow-down": none,
"shadow-right": none,