Skip to content

Commit 0441cd7

Browse files
committed
Fix up CSS issues; validate that sites visually match the live website version using Docusaurus 2
1 parent 4536dfb commit 0441cd7

7 files changed

Lines changed: 47 additions & 0 deletions

File tree

websites/api-extractor.com/src/css/custom.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ main {
101101
line-height: 1.5;
102102
}
103103

104+
.prism-code {
105+
border-style: solid;
106+
border-width: 1px;
107+
border-color: #ccc;
108+
}
109+
104110
/*
105111
* Rush Stack - People grid
106112
*/
@@ -140,6 +146,7 @@ html[data-theme='dark'] blockquote {
140146
* Add a little icon next to hyperlinks that point to an external page.
141147
* We only do this inside an <article> element. Use the class="no-external-link-icon" to disable it.
142148
* An "external" page has "://" in its URL and does not include a recognized DNS name.
149+
* The `:not(.avatar > *)` and `:not(.avatar__name > *)` exclusions are for blog author details.
143150
*/
144151
article a[href*="://"]:not([href*="api-extractor.com"]):not([href*="rushstack.io"]):not([href*="api.rushstack.io"]):not([href*="lfx.rushstack.io"]):not([href*="rushjs.io"]):not([href*="tsdoc.org"]):not([href*="localhost"]):not(.no-external-link-icon):not(.avatar > *):not(.avatar__name > *):not(.mention)
145152
{

websites/api.rushstack.io/src/css/custom.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ main {
119119
line-height: 1.5;
120120
}
121121

122+
.prism-code {
123+
border-style: solid;
124+
border-width: 1px;
125+
border-color: #ccc;
126+
}
127+
122128
/*
123129
* Rush Stack - People grid
124130
*/
@@ -158,6 +164,7 @@ html[data-theme='dark'] blockquote {
158164
* Add a little icon next to hyperlinks that point to an external page.
159165
* We only do this inside an <article> element. Use the class="no-external-link-icon" to disable it.
160166
* An "external" page has "://" in its URL and does not include a recognized DNS name.
167+
* The `:not(.avatar > *)` and `:not(.avatar__name > *)` exclusions are for blog author details.
161168
*/
162169
article a[href*="://"]:not([href*="api-extractor.com"]):not([href*="rushstack.io"]):not([href*="api.rushstack.io"]):not([href*="lfx.rushstack.io"]):not([href*="rushjs.io"]):not([href*="tsdoc.org"]):not([href*="localhost"]):not(.no-external-link-icon):not(.avatar > *):not(.avatar__name > *):not(.mention)
163170
{

websites/heft.rushstack.io/src/css/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ main {
119119
line-height: 1.5;
120120
}
121121

122+
.prism-code {
123+
border-style: solid;
124+
border-width: 1px;
125+
border-color: #ccc;
126+
}
127+
122128
/*
123129
* Rush Stack - People grid
124130
*/

websites/lfx.rushstack.io/src/css/custom.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ main {
101101
line-height: 1.5;
102102
}
103103

104+
.prism-code {
105+
border-style: solid;
106+
border-width: 1px;
107+
border-color: #ccc;
108+
}
109+
104110
/*
105111
* Rush Stack - People grid
106112
*/
@@ -140,6 +146,7 @@ html[data-theme='dark'] blockquote {
140146
* Add a little icon next to hyperlinks that point to an external page.
141147
* We only do this inside an <article> element. Use the class="no-external-link-icon" to disable it.
142148
* An "external" page has "://" in its URL and does not include a recognized DNS name.
149+
* The `:not(.avatar > *)` and `:not(.avatar__name > *)` exclusions are for blog author details.
143150
*/
144151
article a[href*="://"]:not([href*="api-extractor.com"]):not([href*="rushstack.io"]):not([href*="api.rushstack.io"]):not([href*="lfx.rushstack.io"]):not([href*="rushjs.io"]):not([href*="tsdoc.org"]):not([href*="localhost"]):not(.no-external-link-icon):not(.avatar > *):not(.avatar__name > *):not(.mention)
145152
{

websites/rushjs.io/src/css/custom.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ main {
119119
line-height: 1.5;
120120
}
121121

122+
.prism-code {
123+
border-style: solid;
124+
border-width: 1px;
125+
border-color: #ccc;
126+
}
127+
122128
/*
123129
* Rush Stack - People grid
124130
*/
@@ -158,6 +164,7 @@ html[data-theme='dark'] blockquote {
158164
* Add a little icon next to hyperlinks that point to an external page.
159165
* We only do this inside an <article> element. Use the class="no-external-link-icon" to disable it.
160166
* An "external" page has "://" in its URL and does not include a recognized DNS name.
167+
* The `:not(.avatar > *)` and `:not(.avatar__name > *)` exclusions are for blog author details.
161168
*/
162169
article a[href*="://"]:not([href*="api-extractor.com"]):not([href*="rushstack.io"]):not([href*="api.rushstack.io"]):not([href*="lfx.rushstack.io"]):not([href*="rushjs.io"]):not([href*="tsdoc.org"]):not([href*="localhost"]):not(.no-external-link-icon):not(.avatar > *):not(.avatar__name > *):not(.mention)
163170
{

websites/rushstack.io/src/css/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ main {
119119
line-height: 1.5;
120120
}
121121

122+
.prism-code {
123+
border-style: solid;
124+
border-width: 1px;
125+
border-color: #ccc;
126+
}
127+
122128
/*
123129
* Rush Stack - People grid
124130
*/

websites/tsdoc.org/src/css/custom.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ main {
104104
line-height: 1.5;
105105
}
106106

107+
.prism-code {
108+
border-style: solid;
109+
border-width: 1px;
110+
border-color: #ccc;
111+
}
112+
107113
/*
108114
* Rush Stack - People grid
109115
*/
@@ -143,6 +149,7 @@ html[data-theme='dark'] blockquote {
143149
* Add a little icon next to hyperlinks that point to an external page.
144150
* We only do this inside an <article> element. Use the class="no-external-link-icon" to disable it.
145151
* An "external" page has "://" in its URL and does not include a recognized DNS name.
152+
* The `:not(.avatar > *)` and `:not(.avatar__name > *)` exclusions are for blog author details.
146153
*/
147154
article a[href*="://"]:not([href*="api-extractor.com"]):not([href*="rushstack.io"]):not([href*="api.rushstack.io"]):not([href*="lfx.rushstack.io"]):not([href*="rushjs.io"]):not([href*="tsdoc.org"]):not([href*="localhost"]):not(.no-external-link-icon):not(.avatar > *):not(.avatar__name > *):not(.mention)
148155
{

0 commit comments

Comments
 (0)