This is a gentle fork from https://framagit.org/marienfressinaud/photos.marienfressinaud.fr with a responsive and optimized mindset. https://media.larlet.fr/
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. /* Section polices */
  2. /* latin-ext */
  3. @font-face {
  4. font-family: 'Source Serif Pro';
  5. font-style: normal;
  6. font-weight: 400;
  7. src: local('Source Serif Pro'), local('SourceSerifPro-Regular'), url(fonts/source-serif-pro-ext.woff2) format('woff2');
  8. unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  9. }
  10. /* latin */
  11. @font-face {
  12. font-family: 'Source Serif Pro';
  13. font-style: normal;
  14. font-weight: 400;
  15. src: local('Source Serif Pro'), local('SourceSerifPro-Regular'), url(fonts/source-serif-pro.woff2) format('woff2');
  16. unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  17. }
  18. * {
  19. box-sizing: border-box;
  20. }
  21. html,
  22. body {
  23. margin: 0;
  24. padding: 0;
  25. }
  26. html {
  27. color: #2a2230;
  28. font-family: 'Source Serif Pro', serif;
  29. font-size: 22px;
  30. line-height: 1.5rem;
  31. }
  32. @media(max-width: 70rem) {
  33. html {
  34. font-size: 18px;
  35. }
  36. }
  37. body {
  38. background-color: #f8f6ff;
  39. }
  40. a {
  41. color: #a6253a;
  42. }
  43. h1, h2, h3 {
  44. margin-top: 0;
  45. margin-bottom: 0.5rem;
  46. word-wrap: break-word;
  47. }
  48. h1 {
  49. margin-bottom: 1.75rem;
  50. }
  51. h1 { font-size: 2rem; line-height: 2.5rem; }
  52. h2 { font-size: 1.5rem; line-height: 2rem; }
  53. h3 { font-size: 1rem; line-height: 1.5rem; }
  54. * + h1,
  55. * + h2,
  56. * + h3 {
  57. margin-top: 1.5rem;
  58. }
  59. p {
  60. margin-top: 0;
  61. margin-bottom: 1rem;
  62. }
  63. p:last-child {
  64. margin-bottom: 0;
  65. }
  66. ul, ol, dl {
  67. margin-top: 0;
  68. margin-bottom: 1rem;
  69. }
  70. ul:last-child,
  71. ol:last-child,
  72. dl:last-child {
  73. margin-bottom: 0;
  74. }
  75. p + ul,
  76. p + ol,
  77. p + dl {
  78. margin-top: -.5rem;
  79. }
  80. small {
  81. font-size: .8em;
  82. line-height: 1em;
  83. }
  84. strong {
  85. font-weight: bold;
  86. }
  87. img {
  88. max-width: 100%;
  89. height: auto;
  90. }
  91. .app-page-header {
  92. padding-top: 1rem;
  93. padding-bottom: 1rem;
  94. margin-bottom: 4rem;
  95. background: linear-gradient(45deg, #c02b43 52vw,
  96. #2a2230 52vw,
  97. #2a2230 calc(52vw + 2px),
  98. transparent calc(52vw + 2px));
  99. border-bottom: 4px solid #2a2230;
  100. }
  101. .app-page-header .container {
  102. display: flex;
  103. align-items: center;
  104. }
  105. .app-page-header .container > * {
  106. flex-grow: 0;
  107. }
  108. .app-page-header .container > .separator {
  109. flex-grow: 1;
  110. }
  111. @media(max-width: 70rem) {
  112. .app-page-header .container {
  113. flex-direction: column;
  114. }
  115. }
  116. .app-page-header h1 a {
  117. color: #f8f6ff;
  118. text-decoration: none;
  119. }
  120. .app-page-header .app-page-header-title {
  121. margin-bottom: 0;
  122. font-size: 1.5rem;
  123. line-height: 2rem;
  124. }
  125. .app-page {
  126. padding-bottom: 10rem;
  127. }
  128. @media(max-width: 70rem) {
  129. .app-page {
  130. padding-bottom: 5rem;
  131. }
  132. }
  133. .container {
  134. max-width: 70rem;
  135. margin-left: auto;
  136. margin-right: auto;
  137. padding-left: .5rem;
  138. padding-right: .5rem;
  139. }
  140. .galleries {
  141. display: flex;
  142. flex-wrap: wrap;
  143. justify-content: space-evenly;
  144. }
  145. .gallery-cover {
  146. width: 20rem;
  147. max-width: 100%;
  148. margin-bottom: 2rem;
  149. margin-right: .5rem;
  150. }
  151. .gallery-cover a {
  152. text-decoration: none;
  153. }
  154. .gallery-cover img {
  155. width: 100%;
  156. height: 12rem;
  157. border-radius: 0.25rem;
  158. }
  159. .gallery-cover .gallery-cover-name {
  160. display: block;
  161. font-size: 1rem;
  162. font-weight: bold;
  163. overflow: hidden;
  164. text-overflow: ellipsis;
  165. }
  166. .gallery-photos {
  167. display: flex;
  168. flex-wrap: wrap;
  169. justify-content: space-evenly;
  170. margin-top: 2rem;
  171. }
  172. .photo {
  173. width: 20rem;
  174. max-width: 100%;
  175. margin-right: .5rem;
  176. margin-bottom: 2rem;
  177. }
  178. .photo img {
  179. width: 100%;
  180. height: 12rem;
  181. }
  182. .to-the-top {
  183. position: fixed;
  184. bottom: 2rem;
  185. right: 2rem;
  186. padding: .25rem .5rem;
  187. color: #fff;
  188. text-decoration: none;
  189. font-size: .9rem;
  190. background-color: #404c9e;
  191. border-radius: .25rem;
  192. transition: background .2s ease-in-out;
  193. }
  194. .to-the-top:hover {
  195. color: #fff;
  196. background-color: #7586f0;
  197. }