mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:08:57 +00:00
Fix Styling (#758)
* style: ensure consistent indentation * style: add spacing * style: add newlines * style: simplify html * fix: update javascript indent size in contribution guidelines
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;500&display=swap");
|
||||
|
||||
:root {
|
||||
--primary-bg: rgba(23, 23, 23, 90%);
|
||||
--active-bg: #dc143c;
|
||||
@@ -15,6 +16,7 @@
|
||||
font-family: "Poppins", sans-serif !important;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.text {
|
||||
position: absolute;
|
||||
background: var(--primary-bg);
|
||||
@@ -47,11 +49,13 @@
|
||||
left: 45vw;
|
||||
top: -100px;
|
||||
}
|
||||
|
||||
.top.show {
|
||||
transition: 0.5s;
|
||||
top: 10px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.top.hide {
|
||||
transition: 0.5s;
|
||||
top: -100px;
|
||||
@@ -62,11 +66,13 @@
|
||||
top: 50%;
|
||||
right: -100px;
|
||||
}
|
||||
|
||||
.right.show {
|
||||
transition: 0.5s;
|
||||
right: 10px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.right.hide {
|
||||
transition: 0.5s;
|
||||
right: -100px;
|
||||
@@ -83,8 +89,9 @@
|
||||
left: 10px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.left.hide {
|
||||
transition: 0.5s;
|
||||
left: -100px;
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user