forked from confused-Techie/pulsar-documentation-eleventy
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from pulsar-edit/rewrite-css
Rewrite CSS
- Loading branch information
Showing
33 changed files
with
1,019 additions
and
774 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
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
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,4 +1,4 @@ | ||
<table class="arguments"> | ||
<table class="api-arguments"> | ||
<thead> | ||
<tr> | ||
<th>Argument</th> | ||
|
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
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
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
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 +1 @@ | ||
<div class="hovercard-element" id="hovercard"></div> | ||
<div class="hovercard" id="hovercard"></div> |
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
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
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 |
---|---|---|
@@ -0,0 +1,94 @@ | ||
|
||
// Custom containers from markdown-it | ||
.alert { | ||
position: relative; | ||
overflow: clip; | ||
|
||
margin: 1rem 3rem 2rem 0; | ||
padding: 0rem 1rem 0.25rem; | ||
border-radius: 0.8rem; | ||
border-left: 0.45rem solid var(--alert-border); | ||
|
||
background-color: var(--alert-bg); | ||
|
||
color: var(--alert-color); | ||
|
||
.alert__content { | ||
// (when there's no title) | ||
&:first-child { | ||
padding-top: 0.75rem; | ||
} | ||
|
||
& > :last-child { | ||
margin-bottom: 0.75rem; | ||
} | ||
} | ||
|
||
.alert__title { | ||
margin: 0rem -1rem 0.25rem; | ||
padding-top: 0.75rem; | ||
padding-left: 1rem; | ||
padding-right: 1rem; | ||
|
||
background-color: var(--alert-bg-title); | ||
|
||
color: var(--alert-color-title); | ||
font-weight: 700; | ||
text-transform: uppercase; | ||
} | ||
|
||
&.note { | ||
border-color: var(--alert-border-note, var(--alert-border)); | ||
background-color: var(--alert-bg-note, var(--alert-bg)); | ||
color: var(--alert-color-note, var(--alert-color)); | ||
|
||
.alert__title { | ||
background-color: var(--alert-bg-title-note, var(--alert-bg-title)); | ||
color: var(--alert-color-title-note, var(--alert-color-title)); | ||
} | ||
} | ||
|
||
&.warning { | ||
border-color: var(--alert-border-warning, var(--alert-border)); | ||
background-color: var(--alert-bg-warning, var(--alert-bg)); | ||
color: var(--alert-color-warning, var(--alert-color)); | ||
|
||
.alert__title { | ||
background-color: var(--alert-bg-title-warning, var(--alert-bg-title)); | ||
color: var(--alert-color-title-warning, var(--alert-color-title)); | ||
} | ||
} | ||
|
||
&.info { | ||
border-color: var(--alert-border-info, var(--alert-border)); | ||
background-color: var(--alert-bg-info, var(--alert-bg)); | ||
color: var(--alert-color-info, var(--alert-color)); | ||
|
||
.alert__title { | ||
background-color: var(--alert-bg-title-info, var(--alert-bg-title)); | ||
color: var(--alert-color-title-info, var(--alert-color-title)); | ||
} | ||
} | ||
|
||
&.tip { | ||
border-color: var(--alert-border-tip, var(--alert-border)); | ||
background-color: var(--alert-bg-tip, var(--alert-bg)); | ||
color: var(--alert-color-tip, var(--alert-color)); | ||
|
||
.alert__title { | ||
background-color: var(--alert-bg-title-tip, var(--alert-bg-title)); | ||
color: var(--alert-color-title-tip, var(--alert-color-title)); | ||
} | ||
} | ||
|
||
&.danger { | ||
border-color: var(--alert-border-danger, var(--alert-border)); | ||
background-color: var(--alert-bg-danger, var(--alert-bg)); | ||
color: var(--alert-color-danger, var(--alert-color)); | ||
|
||
.alert__title { | ||
background-color: var(--alert-bg-title-danger, var(--alert-bg-title)); | ||
color: var(--alert-color-title-danger, var(--alert-color-title)); | ||
} | ||
} | ||
} |
Oops, something went wrong.