Responsive sizing
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
63ceef41f7
commit
b70d872859
@ -11,7 +11,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<style is="custom-style" include="iron-flex iron-flex-alignment iron-positioning">
|
<style is="custom-style" include="iron-flex iron-flex-alignment iron-positioning">
|
||||||
:host {
|
:host {
|
||||||
@apply --photo-thumbnail;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: #ccc;
|
background-color: #ccc;
|
||||||
@ -25,6 +24,8 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
|
|
||||||
|
@apply --photo-thumbnail;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host > div {
|
:host > div {
|
||||||
|
@ -95,20 +95,13 @@
|
|||||||
--paper-toast-color: white;
|
--paper-toast-color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
#thumbnails {
|
|
||||||
/* justify-content: space-between;*/
|
|
||||||
}
|
|
||||||
|
|
||||||
app-header {
|
app-header {
|
||||||
background-color: yellow;
|
background-color: yellow;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* app-header-layout {
|
#thumbnails {
|
||||||
--layout-fit: {
|
/* justify-content: space-between;*/
|
||||||
overflow-y: hidden !important;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
.date-line {
|
.date-line {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -137,13 +130,24 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.date-line {
|
.date-line {
|
||||||
margin-left: 2em;
|
/* margin-left: 2em;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.date-line .header {
|
.date-line .header {
|
||||||
padding: 0.25em 3px;
|
padding: 0.25em 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 800px) {
|
||||||
|
.date-line {
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
photo-thumbnail {
|
||||||
|
width: 25vw;
|
||||||
|
height: 25vw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
photo-thumbnail {
|
photo-thumbnail {
|
||||||
--photo-thumbnail: {
|
--photo-thumbnail: {
|
||||||
border: 3px solid white;
|
border: 3px solid white;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user