/documents updated: vertical layout
This commit is contained in:
1 parent
6e0149b980
commit
3b48a3a801
5 files changed
+76
-56
No files matched your search
@@ -2,31 +2,47 @@
|
||||
|
||||
.document {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
padding: 0;
|
||||
margin: 0 $single-margin $double-margin;
|
||||
|
||||
p {
|
||||
text-align: center;
|
||||
}
|
||||
margin-bottom: $single-margin;
|
||||
}
|
||||
|
||||
.document__image{
|
||||
min-width: 4em;
|
||||
width: 4em;
|
||||
height: 4em;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
//align-items: center;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
box-shadow: $white-shadow;
|
||||
}
|
||||
}
|
||||
|
||||
.document__image--medium{
|
||||
max-width: 7.5em;
|
||||
}
|
||||
|
||||
.document__image--big{
|
||||
max-width: 20em;
|
||||
}
|
||||
|
||||
.document__file {
|
||||
margin-left: $single-margin;
|
||||
flex-grow: 10;
|
||||
}
|
||||
|
||||
.document__file-info {
|
||||
width: 25%;
|
||||
flex-grow: 1;
|
||||
font-size: $smaller-font-size;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
@media (max-width: $mobile-width) {
|
||||
.document {
|
||||
margin: 0 $single-margin/2 $single-margin;
|
||||
|
||||
@@ -1,10 +1,17 @@
|
||||
@import "../variables";
|
||||
|
||||
.documents-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
align-items: baseline;
|
||||
margin-bottom: $post-margin;
|
||||
|
||||
&__head {
|
||||
margin-bottom: $double-margin;
|
||||
}
|
||||
|
||||
&__body {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $mobile-width) {
|
||||
|
||||
Reference in new issue
Block a user