generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 211
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 #665 from wzshiming/site/word-break
[site] Fix site style
- Loading branch information
Showing
1 changed file
with
31 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,42 @@ | ||
|
||
@import "plugins/_numbered.scss"; | ||
|
||
|
||
.gh-label { | ||
display: inline-block; | ||
padding: 0 10px; | ||
font-size: 16px; | ||
font-weight: 500; | ||
line-height: 18px; | ||
border: 1px solid transparent; | ||
border-radius: 2em; | ||
} | ||
|
||
code { | ||
padding: 0 .25rem; | ||
background: var(--gray-200); | ||
border-radius: .25rem; | ||
font-size: .875em; | ||
display: inline-block; | ||
padding: 0 10px; | ||
font-size: 16px; | ||
font-weight: 500; | ||
line-height: 18px; | ||
border: 1px solid transparent; | ||
border-radius: 2em; | ||
} | ||
|
||
a.active { | ||
color: var(--color-link); | ||
color: var(--color-link); | ||
} | ||
|
||
a.ancestor { | ||
color: var(--color-visited-link); | ||
color: var(--color-visited-link); | ||
} | ||
|
||
code { | ||
padding: 0 .25rem; | ||
background: var(--gray-200); | ||
border-radius: .25rem; | ||
font-size: .875em; | ||
word-break: break-word; | ||
} | ||
|
||
.markdown { | ||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6 { | ||
font-weight: 400; | ||
line-height: 1.2; | ||
margin-top: 1.5em; | ||
margin-bottom: 1rem; | ||
} | ||
} |