forked from ampproject/amp.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
๐Update boilerplate generator theme (ampproject#2047)
* ๐ฌ Change order of items * ๐ Update styles and UI * ๐ Fix dropdown bug on touch devices * ๐ Update stylesheet to match other code-snippets * โป๏ธ Move changes to boilerplate specific stylesheet * ๐ Change behaviour of dropdown * ๐ Increase line-height and font-size * ๐ Add indicator state to dropdown caret
- Loading branch information
1 parent
eb9b7b7
commit 77cad07
Showing
6 changed files
with
166 additions
and
27 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
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,80 @@ | ||
/* | ||
Monokai style | ||
*/ | ||
|
||
.hljs { | ||
display: block; | ||
overflow-x: auto; | ||
padding: 0.5em; | ||
background: #272822; color: #ddd; | ||
} | ||
|
||
.hljs-tag { | ||
color: #f8f8f2; | ||
} | ||
|
||
.hljs-number { | ||
color: #ae81ff; | ||
} | ||
|
||
.hljs-keyword, | ||
.hljs-selector-tag, | ||
.hljs-literal, | ||
.hljs-strong, | ||
.hljs-name { | ||
color: #f15a5a; | ||
} | ||
|
||
.hljs-code, | ||
.hljs-attribute { | ||
color: #66d9ef; | ||
} | ||
|
||
.hljs-class .hljs-title { | ||
color: #ffffff; | ||
} | ||
|
||
.hljs-symbol, | ||
.hljs-regexp, | ||
.hljs-link { | ||
color: #bf79db; | ||
} | ||
|
||
.hljs-string { | ||
color: #e6db74; | ||
} | ||
|
||
.hljs-attr, | ||
.hljs-bullet, | ||
.hljs-subst, | ||
.hljs-title, | ||
.hljs-section, | ||
.hljs-emphasis, | ||
.hljs-type, | ||
.hljs-built_in, | ||
.hljs-builtin-name, | ||
.hljs-selector-pseudo, | ||
.hljs-addition, | ||
.hljs-variable, | ||
.hljs-template-tag, | ||
.hljs-template-variable { | ||
color: #a6e22e; | ||
} | ||
|
||
.hljs-comment, | ||
.hljs-quote, | ||
.hljs-deletion, | ||
.hljs-meta { | ||
color: #75715e; | ||
} | ||
|
||
.hljs-keyword, | ||
.hljs-selector-tag, | ||
.hljs-literal, | ||
.hljs-doctag, | ||
.hljs-title, | ||
.hljs-section, | ||
.hljs-type, | ||
.hljs-selector-id { | ||
font-weight: normal; | ||
} |
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 |
---|---|---|
|
@@ -19,6 +19,9 @@ | |
} | ||
|
||
&-selected { | ||
.amp-mode-touch & { | ||
position: relative; | ||
} | ||
border: 0; | ||
|
||
&:focus, &:hover { | ||
|