]>
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 video.orient-90 {
87 .camera
> ul
> li:target img
,
88 .camera > ul > li:target video {
89 border: 1px solid blue
;
90 box-shadow: 1px 3px 8px rgba
(0, 0, 255, 0.5);
93 .camera > ul > li div.item {
95 flex-direction: column
;
97 .camera > ul > li div.item > span.comment {
98 display: inline-block
;
99 margin: 1ex 1ex 1ex 1ex;
103 .camera > ul > li span.infos {
110 //margin: 1ex 1ex 1ex 1ex;
111 /*-webkit-text-stroke: 1px black;*/
112 flex-direction: column
;
113 justify-content: space-between
;
115 .camera > ul > li:hover span.infos {
118 .camera > ul > li:hover span.infos > span {
120 background-color: black
;
123 .camera > ul > li span.links {
129 right: -1px; /* 0 is not perfectly aligned */
130 //margin: 1ex 1ex 1ex 1ex;
131 text-decoration: none
;
132 flex-direction: column
;
134 justify-content: space-between
;
135 /*-webkit-text-stroke: 1px black;*/
137 .camera > ul > li:hover span.links {
140 .camera > ul > li span.links > a {
142 background-color: black
;
143 text-decoration: none
;
144 padding: 2px 0px 2px 2px;