34 lines
879 B
CSS
34 lines
879 B
CSS
/* style.css */
|
|
@import 'https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css';
|
|
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
src: url('../assets/fonts/InterVariable.ttf') format('truetype');
|
|
}
|
|
|
|
/* General styles for the browser UI */
|
|
body {
|
|
margin: 0;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
overflow: hidden; /* Hide scrollbars on the main window */
|
|
}
|
|
|
|
#browser-bar {
|
|
-webkit-app-region: drag; /* Allows dragging the window from the browser bar */
|
|
}
|
|
|
|
#nav-buttons button, #url-bar {
|
|
-webkit-app-region: no-drag; /* Prevents dragging from interactive elements */
|
|
}
|
|
|
|
#home-btn {
|
|
font-size: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
#webview {
|
|
height: calc(100vh - 56px); /* Adjust height to fill space below the browser bar */
|
|
}
|