38 lines
863 B
CSS
38 lines
863 B
CSS
|
|
/* custom_template_khmer/static/src/css/custom_theme.css */
|
||
|
|
@font-face {
|
||
|
|
font-family: 'KhmerOS_content';
|
||
|
|
src:url('/custom_template_khmer/static/src/fonts/KhmerOS_content.ttf') format('truetype');
|
||
|
|
font-weight: normal;
|
||
|
|
font-style: normal;
|
||
|
|
font-display: swap;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Fallback variables */
|
||
|
|
:root {
|
||
|
|
--khmer-menu-bg: #714B67;
|
||
|
|
--khmer-font-family: 'KhmerOS_content', 'Battambang', 'Hanuman', sans-serif;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Smooth transitions */
|
||
|
|
.o_main_navbar,
|
||
|
|
.o_menu_navbar,
|
||
|
|
.btn,
|
||
|
|
.form-control {
|
||
|
|
transition: all 0.3s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Khmer text rendering */
|
||
|
|
body {
|
||
|
|
text-rendering: optimizeLegibility;
|
||
|
|
-webkit-font-smoothing: antialiased;
|
||
|
|
-moz-osx-font-smoothing: grayscale;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Utility classes
|
||
|
|
.khmer-font {
|
||
|
|
font-family: var(--khmer-font-family) !important;
|
||
|
|
}
|
||
|
|
.khmer-menu-bg {
|
||
|
|
background-color: var(--khmer-menu-bg) !important;
|
||
|
|
}
|
||
|
|
*/
|