mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-07-20 01:42:36 +02:00
updated by original repo
This commit is contained in:
@@ -21,7 +21,8 @@
|
||||
}
|
||||
|
||||
.first-entry .entry-header h2 {
|
||||
font-size: 34px
|
||||
font-size: 34px;
|
||||
line-height: 1.3
|
||||
}
|
||||
|
||||
.first-entry .entry-content {
|
||||
|
@@ -5,7 +5,14 @@
|
||||
}
|
||||
|
||||
html {
|
||||
-webkit-tap-highlight-color: transparent
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
scroll-behavior: smooth
|
||||
}
|
||||
|
||||
@media screen and (prefers-reduced-motion: reduce) {
|
||||
html {
|
||||
scroll-behavior: auto
|
||||
}
|
||||
}
|
||||
|
||||
a,
|
||||
|
40
assets/css/search.css
Normal file
40
assets/css/search.css
Normal file
@@ -0,0 +1,40 @@
|
||||
.searchbox input {
|
||||
padding: 4px 10px;
|
||||
width: 100%;
|
||||
color: var(--primary);
|
||||
font-weight: bold;
|
||||
border: 2px solid var(--tertiary);
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
|
||||
.searchbox input:focus {
|
||||
border-color: var(--secondary);
|
||||
}
|
||||
|
||||
#searchResults li {
|
||||
list-style: none;
|
||||
border-radius: var(--radius);
|
||||
padding: 10px;
|
||||
margin: 10px 0;
|
||||
position: relative;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
#searchResults {
|
||||
margin: 10px 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#searchResults li:active {
|
||||
transition: transform .1s;
|
||||
transform: scale(.98);
|
||||
}
|
||||
|
||||
#searchResults a {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
outline: none;
|
||||
}
|
Reference in New Issue
Block a user