css : move to sass
This commit is contained in:
parent
7a498da332
commit
1b108ac44f
8 changed files with 551 additions and 40 deletions
35
assets/css/src/_mobile.scss
Normal file
35
assets/css/src/_mobile.scss
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
@media screen and (max-width: 1000px) {
|
||||
body {
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
.project-slideshow {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100vw;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
height: 50vh;
|
||||
}
|
||||
.project-slideshow img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.main-title {
|
||||
z-index: 2;
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.project-index :has(.selected) {
|
||||
}
|
||||
|
||||
.fix {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.project-toggler.grid {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue