-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add youtube link to townhall button on docs (#9381)
- Loading branch information
1 parent
16fe22a
commit dc6f169
Showing
2 changed files
with
41 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 26 additions & 11 deletions
37
docs-website/src/pages/_components/TownhallButton/townhallbutton.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,29 @@ | ||
.feature { | ||
color: white; | ||
border: 1px solid transparent; | ||
background-image: linear-gradient(to right, #1890ff 0%, #9c27b0 100%); | ||
background-origin: border-box; | ||
opacity: 90%; | ||
|
||
&:hover { | ||
opacity: 100%; | ||
background: linear-gradient(to right, #1890ff 0%, #9c27b0 100%); | ||
.townhall-season { | ||
color: white; | ||
border: 1px solid transparent; | ||
background-image: linear-gradient(to right, #1890ff 0%, #9c27b0 100%); | ||
background-origin: border-box; | ||
opacity: 90%; | ||
|
||
&:hover { | ||
opacity: 100%; | ||
background: linear-gradient(to right, #1890ff 0%, #9c27b0 100%); | ||
background-image: linear-gradient(to right, #1890ff 0%, #9c27b0 100%); | ||
background-origin: border-box; | ||
} | ||
} | ||
} | ||
|
||
.non-townhall-season { | ||
color: white; | ||
border: 1px solid transparent; | ||
background-image: linear-gradient(to right, #1890ff 0%, #48DBFB 100%); | ||
background-origin: border-box; | ||
opacity: 90%; | ||
|
||
&:hover { | ||
opacity: 100%; | ||
background: linear-gradient(to right, #1890ff 0%, #48DBFB 100%); | ||
background-image: linear-gradient(to right, #1890ff 0%, #48DBFB 100%); | ||
background-origin: border-box; | ||
} | ||
} |