[F] Move global css outside of overall scope
This commit is contained in:
@@ -26,3 +26,34 @@
|
|||||||
|
|
||||||
--font: 'Avenir', Helvetica, Arial, sans-serif;
|
--font: 'Avenir', Helvetica, Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ##############
|
||||||
|
// # Global CSS #
|
||||||
|
// ##############
|
||||||
|
|
||||||
|
.el-card
|
||||||
|
{
|
||||||
|
margin: 10px;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-card.large
|
||||||
|
{
|
||||||
|
height: 494px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fix padding
|
||||||
|
.el-card__body
|
||||||
|
{
|
||||||
|
padding-top: 0 !important;
|
||||||
|
padding-bottom: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Vertical centering
|
||||||
|
.vertical-center
|
||||||
|
{
|
||||||
|
// Vertical center
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,16 +1,4 @@
|
|||||||
|
|
||||||
// Add some margins
|
|
||||||
.el-card
|
|
||||||
{
|
|
||||||
margin: 10px;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.el-card.large
|
|
||||||
{
|
|
||||||
height: 494px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.gpa-card
|
.gpa-card
|
||||||
{
|
{
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
@@ -52,19 +40,3 @@
|
|||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
min-width: 170px;
|
min-width: 170px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fix padding
|
|
||||||
.el-card__body
|
|
||||||
{
|
|
||||||
padding-top: 0 !important;
|
|
||||||
padding-bottom: 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Vertical centering
|
|
||||||
.vertical-center
|
|
||||||
{
|
|
||||||
// Vertical center
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user