Skip to content

Instantly share code, notes, and snippets.

@ousid
Last active October 9, 2020 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ousid/91c5887fb6dd4a79bf00f85646a434be to your computer and use it in GitHub Desktop.
Save ousid/91c5887fb6dd4a79bf00f85646a434be to your computer and use it in GitHub Desktop.
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;600;700;900&display=swap');
@import './switch';
@tailwind base;
:root {
color-scheme: light dark;
}
html {
scroll-behavior: smooth;
}
body, h1, h2, h3, h4, h5, h6, p, span, a, li, ul {
font-family: 'Cairo', helvetica-neue-lt-arabic, sans-serif;
font-weight: 500;
}
.layer-shadow {
box-shadow: 1px 2px 20px 0px rgba(0, 0, 0, 0.25);
}
// custom scrolling
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background-color: #f3f0f0;
-webkit-border-radius: 10px;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
-webkit-border-radius: 10px;
border-radius: 10px;
background: #073b4c;
}
input:invalid, textarea:invalid, select:invalid {
box-shadow: none;
}
[x-cloak] {
display: none;
}
.bg-control {
background-size: cover !important;
}
@media (min-width: 640px) {
.bg-control {
background-size: contain !important;
}
}
.mode-dark .trix-button-row {
background: #fff;
padding-top: 9px;
padding-right: 10px;
border-radius: 5px;
}
@tailwind components;
@tailwind utilities;
[x-cloak] {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment