mirror of
https://github.com/thangisme/notes.git
synced 2024-11-20 04:46:10 -05:00
Fixed css style
This commit is contained in:
parent
804cad6c4d
commit
c057771cca
@ -15,9 +15,9 @@ pre.highlight,
|
|||||||
figure.highlight {
|
figure.highlight {
|
||||||
padding: $sp-3;
|
padding: $sp-3;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
background-color: $code-background-color;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
background-color: $code-background-color;
|
|
||||||
|
|
||||||
code {
|
code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
padding-bottom: $sp-2;
|
padding-bottom: $sp-2;
|
||||||
|
|
||||||
@include mq(md) {
|
@include mq(md) {
|
||||||
height: 100%;
|
|
||||||
max-width: $search-results-width;
|
max-width: $search-results-width;
|
||||||
|
height: 100%;
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
@ -93,8 +93,8 @@
|
|||||||
max-height: calc(100vh - 100%);
|
max-height: calc(100vh - 100%);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
background: $search-background-color;
|
background: $search-background-color;
|
||||||
border-bottom-left-radius: $border-radius;
|
|
||||||
border-bottom-right-radius: $border-radius;
|
border-bottom-right-radius: $border-radius;
|
||||||
|
border-bottom-left-radius: $border-radius;
|
||||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
|
||||||
|
|
||||||
@include mq(md) {
|
@include mq(md) {
|
||||||
@ -202,11 +202,11 @@
|
|||||||
|
|
||||||
.search-overlay {
|
.search-overlay {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 1;
|
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 0;
|
width: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
|
z-index: 1;
|
||||||
background-color: rgba(0, 0, 0, 0.2);
|
background-color: rgba(0, 0, 0, 0.2);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity ease 200ms;
|
transition: opacity ease 200ms;
|
||||||
|
Loading…
Reference in New Issue
Block a user