amalieeh / assessment-support

TDT4501 Computer Science, Specialization Project (2021 FALL) with Sylvi Phuong Huynh @sylvihuynh. About Learning technology.
0 stars 0 forks source link

46 refactor css #90

Closed sylvihuynh closed 2 years ago

sylvihuynh commented 2 years ago

fix #46

Created a Main.css and moved some main css code from assessment and approval page css to main css. Could not move it t global as global CSS cannot be imported from files other than your Custom . Due to the Global nature of stylesheets, and to avoid conflicts, Please move all first-party global CSS imports to pages/_app.js.

Created a color palette in global that can be referred to rather than writing hex-code every time. It is placed in globals.css as the selector :root must be put there.