qortal-mobile/src/index.css

105 lines
2.1 KiB
CSS
Raw Normal View History

2024-04-14 21:14:13 +03:00
@font-face {
font-family: 'Inter';
src: url('./styles/fonts/Inter-SemiBold.ttf') format('truetype');
font-weight: 600;
2024-04-14 14:57:30 +03:00
}
2024-04-14 21:14:13 +03:00
@font-face {
font-family: 'Inter';
src: url('./styles/fonts/Inter-ExtraBold.ttf') format('truetype');
font-weight: 800;
}
@font-face {
font-family: 'Inter';
src: url('./styles/fonts/Inter-Bold.ttf') format('truetype');
font-weight: 700;
}
@font-face {
font-family: 'Inter';
src: url('./styles/fonts/Inter-Regular.ttf') format('truetype');
font-weight: 400;
2024-04-14 14:57:30 +03:00
}
2024-04-14 21:14:13 +03:00
:root {
padding: 0px;
margin: 0px;
box-sizing: border-box !important;
2024-09-21 07:48:54 +03:00
word-break: break-word;
2024-09-09 20:36:39 +03:00
--color-instance : #1E1E20;
--color-instance-popover-bg: #222222;
--Mail-Background: rgba(49, 51, 56, 1);
--new-message-text: black;
2024-09-20 03:57:10 +03:00
--bg-primary : rgba(31, 32, 35, 1);
--bg-2: #27282c;
--bg-3: rgba(0, 0, 0, 0.1);
2024-09-21 07:48:54 +03:00
--unread: rgba(255, 0, 0, 1);
2024-04-14 14:57:30 +03:00
}
2024-04-14 21:14:13 +03:00
body {
margin: 0px;
2024-04-15 22:30:49 +03:00
}
.image-container {
position: relative;
}
.image-container img {
position: absolute;
left: 0;
top: 0;
transition: opacity 0.5s ease; /* Optional: adds a fade effect */
}
.image-container .hover-image {
opacity: 0;
}
.image-container:hover .hover-image {
opacity: 1;
}
.image-container:hover .base-image {
opacity: 0;
2024-09-09 20:36:39 +03:00
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-track:hover {
background-color: transparent;
}
::-webkit-scrollbar {
width: 16px;
height: 10px;
}
::-webkit-scrollbar-thumb {
background-color: white;
border-radius: 8px;
background-clip: content-box;
border: 4px solid transparent;
}
/* Mobile-specific scrollbar styles */
@media only screen and (max-width: 600px) {
::-webkit-scrollbar {
width: 8px; /* Narrower scrollbar width on mobile */
height: 6px; /* Narrower scrollbar height on mobile */
}
::-webkit-scrollbar-thumb {
border-radius: 4px; /* Adjust the radius for a narrower thumb */
border: 2px solid transparent; /* Narrower thumb border */
}
}
2024-09-09 20:36:39 +03:00
.group-list::-webkit-scrollbar-thumb:hover {
background-color: whitesmoke;
2024-09-12 05:01:36 +03:00
}
html, body {
overscroll-behavior:none !important;
2024-04-14 21:14:13 +03:00
}