css is now in old form
This commit is contained in:
@@ -6,30 +6,32 @@
|
||||
.cv {
|
||||
display: flex;
|
||||
text-align: left;
|
||||
summary {
|
||||
position: relative;
|
||||
list-style-position: outside;
|
||||
list-style-type: "▸ ";
|
||||
font-size: 1.8rem;
|
||||
margin: auto;
|
||||
width: fit-content;
|
||||
.open {
|
||||
display: none;
|
||||
}
|
||||
.close {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
&[open] summary {
|
||||
list-style-type: "▾ ";
|
||||
.open {
|
||||
display: inline;
|
||||
}
|
||||
.close {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
> *:last-child {
|
||||
margin-bottom: 100px;
|
||||
}
|
||||
}
|
||||
.cv summary {
|
||||
position: relative;
|
||||
list-style-position: outside;
|
||||
list-style-type: "▸ ";
|
||||
font-size: 1.8rem;
|
||||
margin: auto;
|
||||
width: fit-content;
|
||||
}
|
||||
.cv summary .open {
|
||||
display: none;
|
||||
}
|
||||
.cv summary .close {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.cv[open] summary {
|
||||
list-style-type: "▾ ";
|
||||
}
|
||||
.cv[open] summary .open {
|
||||
display: inline;
|
||||
}
|
||||
.cv[open] summary .close {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.cv > *:last-child {
|
||||
margin-bottom: 100px;
|
||||
}
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
grid-template-rows: 1fr auto 1fr;
|
||||
*/
|
||||
grid-template-rows: auto auto 1fr;
|
||||
.subtitle {
|
||||
text-align: center;
|
||||
}
|
||||
.cv {
|
||||
#cv_download {
|
||||
margin-top: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
#hero .subtitle {
|
||||
text-align: center;
|
||||
}
|
||||
#hero .cv {
|
||||
}
|
||||
#hero .cv #cv_download {
|
||||
margin-top: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
#infos article {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -7,21 +7,20 @@
|
||||
margin: auto;
|
||||
width: fit-content;
|
||||
overflow: hidden;
|
||||
|
||||
.frames {
|
||||
position: relative;
|
||||
animation: mouse_move infinite 2s normal steps(4);
|
||||
&::before {
|
||||
position: relative;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
}
|
||||
&::after {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.mouse .frames {
|
||||
position: relative;
|
||||
animation: mouse_move infinite 2s normal steps(4);
|
||||
}
|
||||
.mouse .frames::before {
|
||||
position: relative;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
}
|
||||
.mouse .frames::after {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0px;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -2,20 +2,21 @@
|
||||
header {
|
||||
height: 300px;
|
||||
}
|
||||
.projects_grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, auto));
|
||||
grid-template-columns: repeat(2, minmax(100px, auto));
|
||||
grid-template-columns: repeat(2, minmax(100px, 500px));
|
||||
grid-gap: 20px;
|
||||
figure {
|
||||
figcaption {
|
||||
text-align: left;
|
||||
margin-bottom: 100px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.mouse {
|
||||
margin-top: 100px;
|
||||
}
|
||||
}
|
||||
#projects .projects_grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, auto));
|
||||
grid-template-columns: repeat(2, minmax(100px, auto));
|
||||
grid-template-columns: repeat(2, minmax(100px, 500px));
|
||||
grid-gap: 20px;
|
||||
}
|
||||
#projects .projects_grid figure {
|
||||
}
|
||||
#projects .projects_grid figure figcaption {
|
||||
text-align: left;
|
||||
margin-bottom: 100px;
|
||||
}
|
||||
|
||||
#projects .mouse {
|
||||
margin-top: 100px;
|
||||
}
|
||||
|
||||
@@ -9,31 +9,30 @@ section {
|
||||
min-height: 100vh;
|
||||
justify-items: center;
|
||||
text-align: center;
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
place-content: center;
|
||||
|
||||
h1 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
article {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
> * {
|
||||
grid-column: 2 / span 1;
|
||||
}
|
||||
> .grid_full_width {
|
||||
grid-column: 1 / span 3;
|
||||
}
|
||||
|
||||
.banner {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
}
|
||||
section header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
place-content: center;
|
||||
}
|
||||
section header h1 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
section article {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
section > * {
|
||||
grid-column: 2 / span 1;
|
||||
}
|
||||
section > .grid_full_width {
|
||||
grid-column: 1 / span 3;
|
||||
}
|
||||
|
||||
section .banner {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user