Site web d'Antopie https://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.

446 lines
6.0KB

  1. @fond: #2a2a2a;
  2. @fondSecondaire: #222222;
  3. @fondOptionHover: lighten(@fond, 10%);
  4. @texteSecondaire: #aaaaaa;
  5. @texte: white;
  6. @couleurL: white;
  7. @couleurPrincipale: red;
  8. .texte-secondaire {
  9. color: @texteSecondaire;
  10. }
  11. ::selection {
  12. color: @fond;
  13. background-color: @texte;
  14. }
  15. .bouton {
  16. border: 2px solid grey;
  17. padding: 10px;
  18. padding-left: 15px;
  19. padding-right: 15px;
  20. margin: 5px;
  21. display: inline-block;
  22. border-radius: 14px;
  23. color: @texte;
  24. text-decoration: none;
  25. &:hover {
  26. color: @couleurPrincipale;
  27. border: 2px solid @couleurPrincipale;
  28. }
  29. }
  30. html {
  31. font-size: 20px;
  32. scrollbar-color: @texte @fond;
  33. scrollbar-width: auto;
  34. }
  35. @media all and (max-width: 640px) {
  36. html {
  37. font-size: 13px;
  38. }
  39. }
  40. a, a:visited {
  41. text-decoration: underline;
  42. color: @couleurL;
  43. transition: all 0.1s linear;
  44. &:hover {
  45. text-decoration: none;
  46. color: @couleurPrincipale;
  47. }
  48. }
  49. .logo {
  50. margin-bottom: 10px;
  51. }
  52. #img404 {
  53. padding-top: 10px;
  54. padding-bottom: 30px;
  55. width: 30%;
  56. @media (max-width: 1300px) {
  57. width: 766px;
  58. }
  59. }
  60. #page404 {
  61. text-align: center;
  62. }
  63. del {
  64. text-decoration: line-through;
  65. }
  66. code, var, samp {
  67. font-family: "Ubuntu Mono", monospace;
  68. background-color: @fondSecondaire;
  69. padding: 5px;
  70. border-radius: 10px;
  71. font-style: normal;
  72. }
  73. body {
  74. font-family: "Ubuntu", sans-serif;
  75. padding: 0px;
  76. margin: 0px;
  77. background-color: @fond;
  78. color: @texte;
  79. font-size: 25px;
  80. line-height: 35px;
  81. }
  82. address {
  83. font-style: normal;
  84. }
  85. .grille-services {
  86. display: grid;
  87. grid-template-columns: 1fr 1fr 1fr 1fr;
  88. grid-gap: 30px;
  89. padding-top: 30px;
  90. @media (max-width: 1500px) {
  91. grid-template-columns: 1fr 1fr 1fr;
  92. }
  93. @media (max-width: 1000px) {
  94. grid-template-columns: 1fr 1fr;
  95. }
  96. @media (max-width: 600px) {
  97. grid-template-columns: 1fr;
  98. }
  99. }
  100. .zoneLien {
  101. display: flex;
  102. flex-direction: row;
  103. justify-content: center;
  104. }
  105. .lienService, .lienService:visited {
  106. padding: 20px;
  107. border: 2px @fond solid;
  108. border-radius: 16px;
  109. transition: border 0.2s linear;
  110. color: @texte;
  111. text-decoration: none;
  112. display: block;
  113. padding-bottom: 10px;
  114. margin-bottom: 10px;
  115. max-width: 210px;
  116. &:hover {
  117. border: 2px white solid;
  118. color: @texte;
  119. }
  120. }
  121. .themeService {
  122. text-align: center;
  123. font-size: 0.8em;
  124. }
  125. .titreService {
  126. font-size: 1.3em;
  127. text-align: center;
  128. }
  129. .urlService {
  130. margin-top: -6px;
  131. font-size: 0.8em;
  132. color: grey;
  133. text-align: center;
  134. }
  135. .metaService {
  136. text-decoration: none;
  137. font-size: 26px;
  138. }
  139. .metasService {
  140. display: flex;
  141. flex-direction: row;
  142. justify-content: center;
  143. font-size: 0.8em;
  144. }
  145. .logoService {
  146. text-align: center;
  147. }
  148. .elLogoServ {
  149. max-width: 150px;
  150. max-height: 100px;
  151. color: @texte;
  152. }
  153. .descService {
  154. padding-top: 5px;
  155. padding-bottom: 10px;
  156. text-align: left;
  157. }
  158. main {
  159. margin: 0px;
  160. margin-top: 30px;
  161. margin-left: 30px;
  162. margin-bottom: 50px;
  163. margin-right: 30px;
  164. }
  165. .centre {
  166. text-align: center;
  167. justify-content: center;
  168. }
  169. article {
  170. margin-left: 20%;
  171. margin-right: 20%;
  172. @media (max-width: 1400px) {
  173. margin-left: 10%;
  174. margin-right: 10%;
  175. }
  176. @media (max-width: 800px) {
  177. margin-left: 0px;
  178. margin-right: 0px;
  179. }
  180. }
  181. #pres {
  182. text-align: center;
  183. line-height: 40px;
  184. margin-left: 100px;
  185. margin-right: 100px;
  186. @media (max-width: 1400px) {
  187. margin-left: 0px;
  188. margin-right: 0px;
  189. }
  190. }
  191. // FOOTER
  192. .textefooter {
  193. margin: 10px;
  194. line-height: 1.5em;
  195. width: 60%;
  196. padding-left: 20px;
  197. padding-right: 20px;
  198. }
  199. .interlude {
  200. display: flex;
  201. justify-content: center;
  202. }
  203. .traitinterlude > hr {
  204. display: none;
  205. }
  206. .traitinterlude {
  207. border-top: 2px gray dashed;
  208. width: 650px;
  209. }
  210. .basfooter {
  211. display: flex;
  212. justify-content: space-around;
  213. margin-top: 30px;
  214. margin-bottom: 20px;
  215. }
  216. .corps {
  217. text-align: center;
  218. }
  219. footer {
  220. text-align: center;
  221. background-color: @fondSecondaire;
  222. display: flex;
  223. flex-direction: column;
  224. }
  225. .logofooter {
  226. padding-left: 6%;
  227. margin-top: 20px;
  228. text-align: center;
  229. }
  230. .ant {
  231. background-color: @fondSecondaire;
  232. background-image: url(img/antpetitgris.png);
  233. background-repeat: no-repeat;
  234. background-position: center top;
  235. display: inline-block;
  236. text-decoration: none;
  237. min-width: 264px;
  238. min-height: 80px;
  239. }
  240. .ant:hover {
  241. background-image: url(img/antpetit.png);
  242. }
  243. .liensfooter {
  244. display: flex;
  245. flex-direction: row;
  246. padding: 20px;
  247. }
  248. .lienfooter {
  249. margin: 10px;
  250. }
  251. /* ----------------------- HEADER ------------------------ */
  252. #lienHeader {
  253. margin: 0px;
  254. //border: 3px white solid;
  255. //border-top: none;
  256. //border-radius: 0px 0px 12px 12px;
  257. text-align: center;
  258. font-size: 2em;
  259. display: flex;
  260. justify-content: center;
  261. padding: 30px;
  262. padding-bottom: 20px;
  263. margin-left: 35px;
  264. margin-right: 35px;
  265. @media (max-width: 600px) {
  266. border: none;
  267. padding: 0px;
  268. margin-top: 20px;
  269. margin-left: 20px;
  270. margin-right: 20px;
  271. }
  272. }
  273. header {
  274. display: flex;
  275. justify-content: center;
  276. background-color: @fondSecondaire;
  277. }
  278. #header:active {
  279. box-shadow: 2px 2px 3px white inset;
  280. }
  281. #header:hover {
  282. background-color: @fondOptionHover;
  283. transition: all 0.2s ease-in-out;
  284. @media (max-width: 600px) {
  285. background-color: inherit;
  286. }
  287. }
  288. // ----- TITRES -----
  289. h1, h2, h3, h4, h5, h6 {
  290. font-weight: normal;
  291. line-height: 100%;
  292. }
  293. h1 {
  294. font-size: 250%;
  295. text-align: center;
  296. }
  297. h2 {
  298. font-size: 170%;
  299. }
  300. h3 {
  301. font-size: 160%;
  302. }
  303. h4 {
  304. font-size: 140%;
  305. }
  306. h5 {
  307. font-size: 125%;
  308. }
  309. h6 {
  310. font-size: 110%;
  311. }
  312. #LRI {
  313. color: pink !important;
  314. aime: "les pizza ananas-champignons";
  315. width: 200px;
  316. position: absolute;
  317. top: 10px;
  318. left: 10px;
  319. @media (max-width: 1300px) {
  320. width: 60px;
  321. position: absolute;
  322. top: 2px;
  323. left: 2px;
  324. }
  325. @media (max-width: 1000px) {
  326. width: 32px;
  327. position: absolute;
  328. top: 2px;
  329. left: 2px;
  330. }
  331. }
  332. .gomeza {
  333. display: none; // Sera changé le moment voulu en JS
  334. position: fixed;
  335. bottom: 0px;
  336. left: 30px;
  337. z-index: 100;
  338. }
  339. @media (max-width: 800px) {
  340. .basfooter {
  341. flex-direction: column;
  342. }
  343. .textefooter {
  344. width: auto;
  345. margin: 4%;
  346. margin-bottom: 0px;
  347. }
  348. .logofooter {
  349. padding: 0px;
  350. }
  351. .traitinterlude {
  352. width: 80%;
  353. }
  354. }
  355. @media (max-width: 500px) {
  356. .textefooter {
  357. padding-left: 8%;
  358. padding-right: 8%;
  359. margin: 0px;
  360. }
  361. .liensfooter {
  362. flex-direction: column;
  363. }
  364. }