the-glorious-startpage/css/base.css

98 lines
1.5 KiB
CSS
Raw Normal View History

2020-06-09 10:40:00 +02:00
:root {
/* Colors */
2020-06-11 04:33:21 +02:00
--base-body-bg: #1a1a1aff;
2020-06-09 10:40:00 +02:00
--base-bg: #00000060;
2020-06-11 04:33:21 +02:00
--base-color: #fefefeff;
2020-06-09 10:40:00 +02:00
--base-container: #f2f2f220;
--base-hover-bg: #f2f2f230;
--base-focus-bg: #f2f2f245;
--base-active-bg: #fefefe60;
--blur-strength: 6px;
--panel-bg: var(--base-bg);
--panel-color: var(--base-color);
--transition-speed: 300ms;
--rounded-radius: 12px;
}
* {
box-sizing: border-box;
2020-06-09 10:40:00 +02:00
/*Font rendering*/
-webkit-font-smoothing: antialiased !important;
-moz-osx-font-smoothing: grayscale !important;
text-rendering: optimizeLegibility !important;
font-variant-ligatures: none !important;
/*Disable tap hightlight color on mobile devices*/
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
2020-06-11 04:33:21 +02:00
background: var(--base-body-bg);
2020-06-09 10:40:00 +02:00
color: var(--foreground);
}
html, body {
height: 100% !important;
position: fixed !important;
}
/*Placeholder*/
::placeholder {
color: var(--base-color);
2020-06-11 04:33:21 +02:00
opacity: 0.65;
2020-06-09 10:40:00 +02:00
}
/*Scrollbar*/
/* width */
::-webkit-scrollbar {
width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
background: var(--base-container);
}
/* Handle */
::-webkit-scrollbar-thumb {
background: var(--base-active-bg);
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: var(--base-hover-bg);
}
/*Hide focus elements outline*/
input:focus,
textarea:focus,
select:focus{
outline: none;
}
2020-06-11 04:33:21 +02:00
/*Select*/
2020-06-09 10:40:00 +02:00
select {
text-align: center;
text-align-last: center;
}
option {
text-align: left;
}