mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-26 11:04:20 +00:00
pedagogy: better display on mobile
This commit is contained in:
parent
30ccbdc32d
commit
10faa14bef
@ -1794,6 +1794,12 @@ $pedagogy-white-text: #f0f0f0;
|
|||||||
grid-template-columns: 270px auto;
|
grid-template-columns: 270px auto;
|
||||||
grid-template-rows: 100%;
|
grid-template-rows: 100%;
|
||||||
grid-template-areas: "stars comment";
|
grid-template-areas: "stars comment";
|
||||||
|
|
||||||
|
@media screen and (max-width: $small-devices){
|
||||||
|
grid-template-columns: 100%;
|
||||||
|
grid-template-rows: 100% 100%;
|
||||||
|
grid-template-areas: "stars" "comment";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-accordion-content {
|
.ui-accordion-content {
|
||||||
@ -1813,7 +1819,10 @@ $pedagogy-white-text: #f0f0f0;
|
|||||||
.ui-accordion-header {
|
.ui-accordion-header {
|
||||||
background-color: $pedagogy-orange;
|
background-color: $pedagogy-orange;
|
||||||
color: $pedagogy-white-text;
|
color: $pedagogy-white-text;
|
||||||
clip-path: polygon(0 0%, 0 100%, 30% 100%, 33% 0);
|
|
||||||
|
@media screen and (max-width: $small-devices){
|
||||||
|
clip-path: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-accordion-header-icon {
|
.ui-accordion-header-icon {
|
||||||
@ -1835,6 +1844,12 @@ $pedagogy-white-text: #f0f0f0;
|
|||||||
grid-template-columns: 150px 100px auto;
|
grid-template-columns: 150px 100px auto;
|
||||||
grid-template-rows: 156px 1fr;
|
grid-template-rows: 156px 1fr;
|
||||||
grid-template-areas: "grade grade-stars uv-infos" ". . uv-infos";
|
grid-template-areas: "grade grade-stars uv-infos" ". . uv-infos";
|
||||||
|
|
||||||
|
@media screen and (max-width: $small-devices){
|
||||||
|
grid-template-columns: 150px 100px;
|
||||||
|
grid-template-rows: 100% 100%;
|
||||||
|
grid-template-areas: "grade grade-stars" "uv-infos uv-infos";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.grade {
|
.grade {
|
||||||
|
Loading…
Reference in New Issue
Block a user