mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 00:01:05 +00:00
feat(core): use relative unit for search suggestion
This commit is contained in:
parent
22450c4804
commit
7ff415db13
|
@ -8,8 +8,8 @@
|
|||
width: 100%;
|
||||
max-height: ~'calc( 100vh - var( --height-header ) )';
|
||||
box-sizing: border-box;
|
||||
padding-top: 12px;
|
||||
margin-top: -12px;
|
||||
padding-top: 0.75rem;
|
||||
margin-top: -0.75rem;
|
||||
//border-radius: 0 0 var( --border-radius--medium ) var( --border-radius--medium );
|
||||
.citizen-card;
|
||||
.citizen-card-hide( 50% 0, Y );
|
||||
|
@ -17,8 +17,8 @@
|
|||
.citizen-card-transition();
|
||||
|
||||
&-suggestion {
|
||||
padding-top: 6px;
|
||||
padding-bottom: 6px;
|
||||
padding-top: 0.375rem;
|
||||
padding-bottom: 0.375rem;
|
||||
opacity: 0;
|
||||
|
||||
&__thumbnail {
|
||||
|
@ -65,7 +65,7 @@
|
|||
padding-bottom: var( --border-radius--large );
|
||||
border-top: 1px solid var( --border-color-base );
|
||||
border-radius: 0 0 var( --border-radius--large ) var( --border-radius--large );
|
||||
font-size: @content-monospace-size;
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 450;
|
||||
|
||||
&__icon {
|
||||
|
@ -88,15 +88,15 @@
|
|||
a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-right: 12px;
|
||||
padding-left: 12px;
|
||||
padding-right: 0.75rem;
|
||||
padding-left: 0.75rem;
|
||||
color: var( --color-base );
|
||||
}
|
||||
|
||||
picture {
|
||||
width: 100%;
|
||||
max-width: 70px;
|
||||
margin-right: 12px;
|
||||
margin-right: 0.75rem;
|
||||
|
||||
img,
|
||||
source {
|
||||
|
|
Loading…
Reference in a new issue