Site Web en PHP pour présenter des photos https://superflux.antopie.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

style.less 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. main {
  2. display: grid;
  3. grid-template-columns: 1fr 1fr 1fr 1fr;
  4. /* grid-row-gap: 50px; */
  5. grid-auto-flow: dense;
  6. max-width: 100%;
  7. grid-row-gap: 80px;
  8. }
  9. .nomElementDossier {
  10. margin-top: 20px;
  11. }
  12. .source {
  13. text-align: right;
  14. margin-top: 8px;
  15. }
  16. .paysage {
  17. grid-column-end: span 2;
  18. max-width: 100%;
  19. }
  20. footer {
  21. color: grey;
  22. font-size: 18px;
  23. transition: color 0.3s;
  24. & a:link {
  25. color: grey;
  26. text-decoration: underline;
  27. transition: color 0.3s;
  28. font-size: 20px;
  29. }
  30. &:hover, &:hover a:link {
  31. color: white;
  32. }
  33. }
  34. .presentation {
  35. text-align: justify;
  36. margin-bottom: 50px;
  37. margin-left: 15%;
  38. margin-right: 15%;
  39. @media (max-width: 1300px) {
  40. margin-left: 8%;
  41. margin-right: 8%;
  42. }
  43. @media (max-width: 500px) {
  44. margin-left: 6%;
  45. margin-right: 6%;
  46. }
  47. }
  48. blockquote {
  49. background-color: #4d4e52;
  50. padding: 30px;
  51. border-radius: 20px;
  52. @media (max-width: 500px) {
  53. padding: 25px;
  54. margin-left: 0px;
  55. margin-right: 0px;
  56. }
  57. }
  58. .contPremiereImage {
  59. text-align: center;
  60. margin-bottom: 15px;
  61. }
  62. .premiereImage {
  63. border: 2px white solid;
  64. border-radius: 8px;
  65. }
  66. html {
  67. background-color: #2D2F34;
  68. color: white;
  69. text-align: center;
  70. }
  71. .dossier img {
  72. border: 2px white solid;
  73. border-radius: 8px;
  74. }
  75. .element a {
  76. color: white;
  77. font-size: 1.4em;
  78. text-decoration: none;
  79. }
  80. body {
  81. font-family: "Ubuntu", sans-serif;
  82. font-size: 26px;
  83. line-height: 1.3;
  84. }
  85. h6 a, h5 a, h4 a, h3 a, h2 a, h1 a {
  86. font-family: Times New Roman;
  87. text-decoration: none;
  88. }
  89. a {
  90. color: white;
  91. }
  92. h1, h2, h3, h4, h5, h6 {
  93. padding-bottom: 30px;
  94. margin: 0px;
  95. }
  96. h1 {
  97. font-size: 100px;
  98. padding-top: 30px;
  99. }
  100. h2 {
  101. font-size: 60px;
  102. }
  103. h3 {
  104. font-size: 30px;
  105. }
  106. h4 {
  107. font-size: 20px;
  108. }
  109. header {
  110. text-align: center;
  111. }
  112. @media (max-width: 1700px) {
  113. main {
  114. grid-template-columns: 1fr 1fr 1fr;
  115. }
  116. }
  117. @media (max-width: 1300px) {
  118. main {
  119. grid-template-columns: 1fr 1fr;
  120. }
  121. h1 {
  122. font-size: 100px;
  123. }
  124. }
  125. @media (max-width: 1000px) {
  126. h1 {
  127. font-size: 80px;
  128. }
  129. }
  130. @media (max-width: 500px) {
  131. .paysage img {
  132. grid-column-end: span 1;
  133. width: 100%;
  134. max-width: 100%;
  135. }
  136. .paysage {
  137. grid-column-end: span 1;
  138. width: 400px;
  139. }
  140. main {
  141. grid-template-columns: 1fr;
  142. }
  143. .portrait img {
  144. width: 200px;
  145. max-width: 200px;
  146. }
  147. .element {
  148. max-width: 100% !important;
  149. }
  150. h1 {
  151. font-size: 60px;
  152. }
  153. h2 {
  154. font-size: 40px;
  155. }
  156. h3 {
  157. font-size: 25px;
  158. }
  159. h4 {
  160. font-size: 18px;
  161. }
  162. }