]>
Git — Sourcephile - julm/camera.git/blob - index.css
2 text-rendering: optimizeLegibility
;
6 background-color: #eee;
15 background-color: white
;
16 border-bottom: 1px solid black
;
29 /* This causes items to appear out of order,
30 * which is bad for following the chronological order of captures.
31 * grid-auto-flow: dense;
34 /* Grow the pictures when the screen grows,
35 * fitting as many 640x360 videos per row as possible,
36 * without resizing a video more than its width,
37 * substracting 2*5px for the margins.
39 grid-template-columns: repeat
(auto-fit
, minmax
(310px, 1fr));
44 @media screen and (min-width: 320px) {
46 grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
49 @media screen and (min-width: 768px) {
51 grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
57 list-style-type: none
;
60 .camera > ul > li.wow {
63 .camera > ul > li.vid-orient- {
66 .camera > ul > li img {
67 border: 1px solid black
;
68 box-shadow: 1px 3px 8px rgba
(0, 0, 0, 0.5);
75 .camera > ul > li video {
76 border: 1px solid black
;
77 box-shadow: 1px 3px 8px rgba
(0, 0, 0, 0.5);
78 background-color: black
;
85 .camera
> ul
> li:target img
,
86 .camera > ul > li:target video {
87 border: 1px solid blue
;
88 box-shadow: 1px 3px 8px rgba
(0, 0, 255, 0.5);
91 .camera > ul > li div.item {
93 flex-direction: column
;
95 .camera > ul > li div.item > span.comment {
96 display: inline-block
;
97 margin: 1ex 1ex 1ex 1ex;
101 .camera > ul > li span.infos {
108 //margin: 1ex 1ex 1ex 1ex;
109 /*-webkit-text-stroke: 1px black;*/
110 flex-direction: column
;
111 justify-content: space-between
;
113 .camera > ul > li:hover span.infos {
116 .camera > ul > li:hover span.infos > span {
118 background-color: black
;
121 .camera > ul > li span.links {
127 right: -1px; /* 0 is not perfectly aligned */
128 //margin: 1ex 1ex 1ex 1ex;
129 text-decoration: none
;
130 flex-direction: column
;
132 justify-content: space-between
;
133 /*-webkit-text-stroke: 1px black;*/
135 .camera > ul > li:hover span.links {
138 .camera > ul > li span.links > a {
140 background-color: black
;
141 text-decoration: none
;
142 padding: 2px 0px 2px 2px;