]>
Git — Sourcephile - julm/camera.git/blob - index.css
2 text-rendering: optimizeLegibility
;
10 list-style-type: none
;
18 grid-auto-flow: dense
;
20 /* Grow the pictures when the screen grows,
21 * fitting as many 640x360 videos per row as possible,
22 * without resizing a video more than its width,
23 * substracting 2*5px for the margins.
25 grid-template-columns: repeat
(auto-fit
, minmax
(310px, 1fr));
30 @media screen and (min-width: 320px) {
32 grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
35 @media screen and (min-width: 768px) {
37 grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
43 list-style-type: none
;
46 .camera > ul > li.highlight-box {
50 .camera > ul > li.highlight-tall {
53 .camera > ul > li.highlight-wide {
56 .camera > ul > li img {
57 border: 1px solid black
;
58 box-shadow: 1px 3px 8px rgba
(0, 0, 0, 0.5);
65 .camera > ul > li video {
66 border: 1px solid black
;
67 box-shadow: 1px 3px 8px rgba
(0, 0, 0, 0.5);
68 background-color: black
;
75 .camera > ul > li video.orient-90 {
77 .camera
> ul
> li:target img
,
78 .camera > ul > li:target video {
79 border: 1px solid blue
;
82 .camera > ul > li div.item {
84 flex-direction: column
;
86 .camera > ul > li div.item > span.comment {
87 display: inline-block
;
88 margin: 1ex 1ex 1ex 1ex;
92 .camera > ul > li span.infos {
99 //margin: 1ex 1ex 1ex 1ex;
100 /*-webkit-text-stroke: 1px black;*/
101 flex-direction: column
;
102 justify-content: space-between
;
104 .camera > ul > li:hover span.infos {
107 .camera > ul > li:hover span.infos > span {
109 background-color: black
;
112 .camera > ul > li span.links {
118 right: -1px; /* 0 is not perfectly aligned */
119 //margin: 1ex 1ex 1ex 1ex;
120 text-decoration: none
;
121 flex-direction: column
;
123 justify-content: space-between
;
124 /*-webkit-text-stroke: 1px black;*/
126 .camera > ul > li:hover span.links {
129 .camera > ul > li span.links > a {
131 background-color: black
;
132 text-decoration: none
;
133 padding: 2px 0px 2px 2px;