mirror of
https://github.com/Xevion/power-math.git
synced 2025-12-06 11:15:52 -06:00
clean up scss to use buefy/bulma tools
This commit is contained in:
@@ -19,25 +19,29 @@
|
||||
html, body, #app {
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
background: hsl(0, 0%, 6%)
|
||||
}
|
||||
|
||||
#input {
|
||||
input {
|
||||
text-align: center;
|
||||
background-color: transparent;
|
||||
|
||||
// Border fixing
|
||||
border-color: hsl(0, 0%, 20%);
|
||||
border-left-width: 0;
|
||||
border-right-width: 0;
|
||||
border-radius: 0;
|
||||
color: hsl(0, 0%, 80%);
|
||||
|
||||
// Input box font related manipulation
|
||||
font-family: 'KaTeX_Main', serif;
|
||||
padding: 0;
|
||||
height: 1.3em;
|
||||
line-height: 0;
|
||||
font-size: 8em;
|
||||
|
||||
&:active, &:focus {
|
||||
// Remove weird white box shadow
|
||||
&, &:active, &:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import VueKatex from 'vue-katex';
|
||||
import { Input, Field } from 'buefy';
|
||||
import App from './App.vue'
|
||||
import 'katex/dist/katex.min.css';
|
||||
import 'buefy/dist/buefy.css';
|
||||
import './scss/buefy.scss';
|
||||
import 'animate.css/animate.min.css';
|
||||
|
||||
|
||||
|
||||
10
src/scss/buefy.scss
Normal file
10
src/scss/buefy.scss
Normal file
@@ -0,0 +1,10 @@
|
||||
// Import Bulma's core
|
||||
@import "~bulma/sass/utilities/_all";
|
||||
|
||||
// Dark Mode
|
||||
$scheme-main: hsl(0, 0%, 6%);
|
||||
$scheme-invert: $white;
|
||||
|
||||
// Import Bulma and Buefy styles
|
||||
@import "~bulma";
|
||||
@import "~buefy/src/scss/buefy";
|
||||
Reference in New Issue
Block a user