mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 03:39:28 +00:00
Added styling for test page
This commit is contained in:
@@ -25,3 +25,4 @@
|
|||||||
@import 'pages/classes';
|
@import 'pages/classes';
|
||||||
@import 'pages/tests';
|
@import 'pages/tests';
|
||||||
@import 'pages/class';
|
@import 'pages/class';
|
||||||
|
@import 'pages/test';
|
||||||
|
|||||||
26
src/stylesheets/pages/_test.scss
Normal file
26
src/stylesheets/pages/_test.scss
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
.testPage {
|
||||||
|
&__testResultWrapper {
|
||||||
|
@include space-contents;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__testResult {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 1rem;
|
||||||
|
|
||||||
|
&__grade {
|
||||||
|
background: #ddd;
|
||||||
|
color: $secondary-colour;
|
||||||
|
padding: 1rem;
|
||||||
|
border-radius: 10px;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__score {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user