mirror of
https://github.com/Xevion/power-math.git
synced 2025-12-06 07:15:47 -06:00
clean up scss to use buefy/bulma tools
This commit is contained in:
@@ -19,25 +19,29 @@
|
|||||||
html, body, #app {
|
html, body, #app {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
background: hsl(0, 0%, 6%)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#input {
|
#input {
|
||||||
input {
|
input {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
||||||
|
// Border fixing
|
||||||
border-color: hsl(0, 0%, 20%);
|
border-color: hsl(0, 0%, 20%);
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
border-right-width: 0;
|
border-right-width: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
color: hsl(0, 0%, 80%);
|
color: hsl(0, 0%, 80%);
|
||||||
|
|
||||||
|
// Input box font related manipulation
|
||||||
font-family: 'KaTeX_Main', serif;
|
font-family: 'KaTeX_Main', serif;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
height: 1.3em;
|
height: 1.3em;
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
font-size: 8em;
|
font-size: 8em;
|
||||||
|
|
||||||
&:active, &:focus {
|
// Remove weird white box shadow
|
||||||
|
&, &:active, &:focus {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import VueKatex from 'vue-katex';
|
|||||||
import { Input, Field } from 'buefy';
|
import { Input, Field } from 'buefy';
|
||||||
import App from './App.vue'
|
import App from './App.vue'
|
||||||
import 'katex/dist/katex.min.css';
|
import 'katex/dist/katex.min.css';
|
||||||
import 'buefy/dist/buefy.css';
|
import './scss/buefy.scss';
|
||||||
import 'animate.css/animate.min.css';
|
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