Put launch keys in circles for a more uniform design. Change font to Verdana
This commit is contained in:
parent
417b299020
commit
b8808cef20
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -4,20 +4,12 @@
|
|||||||
--foreground: #F1F1F1;
|
--foreground: #F1F1F1;
|
||||||
|
|
||||||
/* fonts */
|
/* fonts */
|
||||||
--font-family: 'Open Sans', sans-serif;
|
--font-family: Verdana, Geneva, sans-serif;
|
||||||
--base-font-size: 18px;
|
--base-font-size: 18px;
|
||||||
--font-weight-normal: 500;
|
--font-weight-normal: 500;
|
||||||
--font-weight-bold: 900;
|
--font-weight-bold: 900;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Open Sans', sans-serif;
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: var(--font-weight-normal);
|
|
||||||
src: local('Open Sans'), local('Open Sans'),
|
|
||||||
url('../assets/fonts/OpenSans-Regular.ttf') format('ttf');
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
@ -36,7 +28,7 @@ body {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
transition: background 0.2s;
|
transition: background 0.4s;
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
}
|
}
|
||||||
@ -207,17 +199,13 @@ body.suggestions .search-suggestions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.command-key {
|
.command-key {
|
||||||
display: block;
|
border-radius: 50%;
|
||||||
float: left;
|
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
margin-right: 1rem;
|
margin-right: 1rem;
|
||||||
border-radius: 50%;
|
font-size: 0.75rem;
|
||||||
background: transparent;
|
|
||||||
color: var(--background);
|
|
||||||
font-size: 0.65rem;
|
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
line-height: 2rem;
|
line-height: 1.5rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -408,9 +408,10 @@ class Help {
|
|||||||
<a href="${url}" target="${this._newTab ? '_blank' : '_self'}">
|
<a href="${url}" target="${this._newTab ? '_blank' : '_self'}">
|
||||||
<style>
|
<style>
|
||||||
.command-key-${i} {
|
.command-key-${i} {
|
||||||
color: ${bgcolor};
|
color: ${fgcolor};
|
||||||
background-color:${fgcolor};
|
background-color:${bgcolor};
|
||||||
|
border: 4px solid ${fgcolor};
|
||||||
|
background-color: ${bgcolor};
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<span class="command-key command-key-${i}" style="">${key}</span>
|
<span class="command-key command-key-${i}" style="">${key}</span>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user