EvalueTonSavoir/client/src/index.css

85 lines
1.2 KiB
CSS
Raw Normal View History

2024-03-29 20:08:34 -04:00
/* Set default colors */
:root {
--main-color: #5271ff;
}
/* Set default font */
* {
margin: 0;
padding: 0;
font-family: 'OpenSans', sans-serif;
}
.primary-blue {
background-color: var(--main-color);
color: #ffffff;
}
html,
body {
height: 100%;
}
#root {
height: 100%;
}
.content {
margin: auto;
height: 100%;
display: flex;
flex-direction: column;
max-width: 100%;
2024-03-29 20:08:34 -04:00
}
/* Media query for phones in portrait mode (max-width: 767px) */
@media (max-width: 767px) {
.content {
max-width: 100%; /* Full width for small screens */
}
2024-03-29 20:08:34 -04:00
}
/* Media query for tablets (min-width: 768px) */
@media (min-width: 768px) {
.content {
max-width: 750px;
}
2024-03-29 20:08:34 -04:00
}
/* Media query for small desktops (min-width: 992px) */
@media (min-width: 992px) {
.content {
max-width: 970px;
}
2024-03-29 20:08:34 -04:00
}
/* Media query for large desktops (min-width: 1200px) */
@media (min-width: 1800px) {
.content {
max-width: 1770px;
}
2024-03-29 20:08:34 -04:00
}
.app {
flex: 1 0 auto;
2024-03-29 20:08:34 -04:00
}
.title {
font-size: xx-large;
font-weight: 600;
margin-bottom: 1rem;
2024-03-29 20:08:34 -04:00
}
.subtitle {
font-size: x-large;
2024-03-29 20:08:34 -04:00
font-weight: 600;
margin-bottom: 1rem;
}
main {
padding: 2rem 2rem;
2024-03-29 20:08:34 -04:00
}