]>
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 grid-auto-flow: dense
;
31 /* Grow the pictures when the screen grows,
32 * fitting as many 640x360 videos per row as possible,
33 * without resizing a video more than its width,
34 * substracting 2*5px for the margins.
36 grid-template-columns: repeat
(auto-fit
, minmax
(310px, 1fr));
41 @media screen and (min-width: 320px) {
43 grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
46 @media screen and (min-width: 768px) {
48 grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
54 list-style-type: none
;
57 .camera > ul > li.highlight-box {
61 .camera > ul > li.highlight-tall {
64 .camera > ul > li.highlight-wide {
67 .camera > ul > li img {
68 border: 1px solid black
;
69 box-shadow: 1px 3px 8px rgba
(0, 0, 0, 0.5);
76 .camera > ul > li video {
77 border: 1px solid black
;
78 box-shadow: 1px 3px 8px rgba
(0, 0, 0, 0.5);
79 background-color: black
;
86 .camera > ul > li video.orient-90 {
88 .camera
> ul
> li:target img
,
89 .camera > ul > li:target video {
90 border: 1px solid blue
;
91 box-shadow: 1px 3px 8px rgba
(0, 0, 255, 0.5);
94 .camera > ul > li div.item {
96 flex-direction: column
;
98 .camera > ul > li div.item > span.comment {
99 display: inline-block
;
100 margin: 1ex 1ex 1ex 1ex;
104 .camera > ul > li span.infos {
111 //margin: 1ex 1ex 1ex 1ex;
112 /*-webkit-text-stroke: 1px black;*/
113 flex-direction: column
;
114 justify-content: space-between
;
116 .camera > ul > li:hover span.infos {
119 .camera > ul > li:hover span.infos > span {
121 background-color: black
;
124 .camera > ul > li span.links {
130 right: -1px; /* 0 is not perfectly aligned */
131 //margin: 1ex 1ex 1ex 1ex;
132 text-decoration: none
;
133 flex-direction: column
;
135 justify-content: space-between
;
136 /*-webkit-text-stroke: 1px black;*/
138 .camera > ul > li:hover span.links {
141 .camera > ul > li span.links > a {
143 background-color: black
;
144 text-decoration: none
;
145 padding: 2px 0px 2px 2px;