Download wp-calypso/client/blocks/author-compact-profile/style.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 2.01 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/blocks/author-compact-profile/style.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/blocks/author-compact-profile/style.scss
-
curl -L -o style.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/blocks/author-compact-profile/style.scss
2.01 kB
| .author-compact-profile { | |
| font-size: $font-body-small; | |
| display: flex; | |
| flex-direction: column; | |
| width: 100%; | |
| .reader-avatar { | |
| margin-bottom: 18px; | |
| } | |
| .gravatar, | |
| .site-icon { | |
| margin: auto; | |
| } | |
| .follow-button { | |
| border: 0; | |
| border-radius: 0; | |
| padding: 0; | |
| .reader-follow-feed { | |
| fill: var(--color-primary); | |
| } | |
| .follow-button__label { | |
| color: var(--color-primary); | |
| @include breakpoint-deprecated( "<660px" ) { | |
| display: inline-block; | |
| } | |
| } | |
| &.is-following .follow-button__label { | |
| color: var(--color-success); | |
| } | |
| // No hover if already following | |
| &.is-following { | |
| &:hover { | |
| .reader-follow-feed { | |
| fill: var(--color-success); | |
| } | |
| .follow-button__label { | |
| color: var(--color-success); | |
| } | |
| } | |
| } | |
| } | |
| // If there's an author link, present site stream link in normal font weight | |
| &.has-author-link { | |
| .author-compact-profile__site-link { | |
| font-weight: inherit; | |
| margin-top: 4px; | |
| } | |
| } | |
| } | |
| .author-compact-profile__names { | |
| a { | |
| text-decoration: none; | |
| } | |
| } | |
| .author-compact-profile .reader-author-link, | |
| .author-compact-profile__site-link, | |
| .author-compact-profile__follow { | |
| align-items: center; | |
| color: var(--color-primary); | |
| display: flex; | |
| justify-content: center; | |
| &:hover { | |
| color: var(--color-text-subtle); | |
| } | |
| } | |
| .author-compact-profile .reader-author-link, | |
| .author-compact-profile__site-link { | |
| font-weight: 600; | |
| } | |
| .author-compact-profile__follow { | |
| display: flex; | |
| flex-wrap: wrap; | |
| margin: 11px 0 5px; | |
| .follow-button { | |
| padding: 5px; | |
| background-color: inherit; | |
| } | |
| } | |
| .author-compact-profile__follow-count { | |
| color: var(--color-text-subtle); | |
| padding: 5px; | |
| } | |
| // Placeholders | |
| .author-compact-profile__site-link.is-placeholder, | |
| .author-compact-profile__follow-count.is-placeholder { | |
| @include placeholder(); | |
| } | |
| .author-compact-profile__site-link.is-placeholder { | |
| @include breakpoint-deprecated( ">660px" ) { | |
| margin-left: 50px; | |
| margin-right: 50px; | |
| } | |
| } | |
| .author-compact-profile__follow-count.is-placeholder { | |
| padding: 0; | |
| } | |