style.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. /* ########### commun*/
  2. @font-face {
  3. font-family: 'source_sans_proregular';
  4. src: url('police/sourcesanspro-regular-webfont.eot');
  5. src: url('police/sourcesanspro-regular-webfont.eot?#iefix') format('embedded-opentype'),
  6. url('police/sourcesanspro-regular-webfont.woff2') format('woff2'),
  7. url('police/sourcesanspro-regular-webfont.woff') format('woff'),
  8. url('police/sourcesanspro-regular-webfont.ttf') format('truetype'),
  9. url('police/sourcesanspro-regular-webfont.svg#source_sans_proregular') format('svg');
  10. font-weight: normal;
  11. font-style: normal;
  12. }
  13. body
  14. {
  15. background-color: rgb(249,249,249);
  16. font-family: SourceSansPro-Regular, Verdana, arial, serif;
  17. color: rgb(30,30,30);
  18. }
  19. #bloc_page
  20. {
  21. width: 90%;
  22. margin: auto;
  23. }
  24. header h1
  25. {
  26. text-align: center;
  27. border: 2px grey groove;
  28. border-radius: 5px;
  29. box-shadow: 5px 5px 5px maroon;
  30. padding-bottom:5px;
  31. }
  32. section h1
  33. {
  34. color: maroon;
  35. text-shadow: 1px 1px 2px rgba(128,0,0,0.7);
  36. }
  37. section h2
  38. {
  39. color: maroon;
  40. font-size: 1.1em;
  41. }
  42. em
  43. {
  44. color: maroon;
  45. text-shadow: 3px 3px 1px rgba(100,100,100,0.4);
  46. }
  47. /* ############## menu*/
  48. nav ul
  49. {
  50. list-style-type: none;
  51. }
  52. nav a:hover
  53. {
  54. color: rgba(168, 0, 0, 0.9);
  55. }
  56. nav a
  57. {
  58. font-size:1.3em;
  59. color: maroon;
  60. padding-bottom: 3px;
  61. text-decoration: none;
  62. }
  63. @media all and (min-width: 1024px) /*menu horizontal slt pour resolutions larges*/
  64. {
  65. nav
  66. {
  67. display: inline-block;
  68. width: 90%;
  69. text-align: center;
  70. }
  71. nav a:hover
  72. {
  73. border-bottom: 3px solid rgba(168, 0, 0, 0.9);
  74. }
  75. nav li
  76. {
  77. display: inline-block;
  78. margin-right: 15px;
  79. }
  80. }
  81. /* ############## Bannière */
  82. #banniere_image
  83. {
  84. margin-top: 15px;
  85. height: 75px;
  86. width: 85%;
  87. border-radius: 5px;
  88. background: url('img/banniere.jpg') no-repeat;
  89. position: relative;
  90. left: 7.5%;
  91. box-shadow: 0px 4px 4px #1c1a19;
  92. margin-bottom: 25px;
  93. }
  94. #banniere_description
  95. {
  96. position: absolute;
  97. bottom: 0;
  98. border-radius: 0px 0px 5px 5px;
  99. width: 99.5%;
  100. height: 25px;
  101. padding-top: 15px;
  102. padding-left: 6px;
  103. background-color: rgb(24,24,24); /* Pour les anciens navigateurs */
  104. background-color: rgba(24,24,24,0.8);
  105. color: white;
  106. font-size: 0.9em;
  107. }
  108. .bouton_rouge
  109. {
  110. display: inline-block;
  111. height: 25px;
  112. position: absolute;
  113. right: 5px;
  114. bottom: 5px;
  115. background-color: rgba(200, 0, 0, 0.8);
  116. border: 1px solid #760001;
  117. border-radius: 5px;
  118. font-size: 1.2em;
  119. text-align: center;
  120. padding: 3px 8px 0px 8px;
  121. color: white;
  122. text-decoration: none;
  123. }
  124. .bouton_rouge:hover
  125. {
  126. background-color: rgba(240, 0, 0, 0.9);
  127. }
  128. .bouton_rouge img
  129. {
  130. border: 0;
  131. }
  132. @media all and (max-width: 1024px) /*menu horizontal slt pour resolutions larges*/
  133. {
  134. #banniere_image
  135. {
  136. display:none;
  137. }
  138. }
  139. /* ################# agencement */
  140. section, aside
  141. {
  142. display: inline-block;
  143. vertical-align: top;
  144. text-align: justify;
  145. }
  146. section
  147. {
  148. position: relative;
  149. left: 5%;
  150. width: 100%;
  151. }
  152. #p_app, #p_jeu
  153. {
  154. display: inline-block;
  155. vertical-align: top;
  156. text-align: justify;
  157. width: 70%;
  158. border: 2px solid maroon;
  159. border-radius: 5px;
  160. padding: 10px;
  161. padding-top: 3px;
  162. box-shadow: 0px 2px 5px #1c1a19;
  163. margin-bottom: 30px;
  164. background-image: linear-gradient(to bottom right, rgba(0,0,0,0), rgba(200,100,0,0.7));
  165. }
  166. @media all and (min-width: 1024px) /*decalage des blocs slt pour resolutions larges*/
  167. {
  168. #p_jeu
  169. {
  170. margin-left: 40%;
  171. }
  172. section
  173. {
  174. width: 60%;
  175. }
  176. }
  177. .bouton_lien
  178. {
  179. display: inline-block;
  180. vertical-align: top;
  181. text-align: center;
  182. position: absolute;
  183. height: 25px;
  184. right: 3%;
  185. bottom: 5%;
  186. background-color: rgba(128, 0, 0, 0.8);
  187. border: 1px solid #760001;
  188. border-radius: 5px;
  189. font-size: 1.1em;
  190. padding: 3px 8px 3px 8px;
  191. margin-top: 3px;
  192. color: white;
  193. text-decoration: none;
  194. }
  195. .bouton_lien:hover
  196. {
  197. background-color: rgba(168, 0, 0, 0.9);
  198. }
  199. /* ############ actus*/
  200. aside
  201. {
  202. position: relative;
  203. width: 15%;
  204. min-height:300px;
  205. margin-left: 20%;
  206. background-color: #706b64;
  207. box-shadow: 0px 2px 5px #1c1a19;
  208. border-radius: 5px;
  209. padding: 10px;
  210. color: white;
  211. font-size: 0.8em;
  212. }
  213. @media all and (max-width: 1024px) /*resolution etroites: actus en bas*/
  214. {
  215. aside
  216. {
  217. width: auto;
  218. min-height: 0px;
  219. }
  220. }
  221. aside p
  222. {
  223. text-align: justify;
  224. margin: 5px;
  225. }
  226. /* ################# tableau versions*/
  227. #tbl_versions
  228. {
  229. border: 1px solid black;
  230. border-collapse: collapse;
  231. width: 60%;
  232. }
  233. #tbl_versions td, #tbl_versions th
  234. {
  235. border: 1px solid black;
  236. padding: 10px;
  237. }
  238. #tbl_versions_col0
  239. {
  240. width: 80%;
  241. }
  242. #tbl_versions_col1
  243. {
  244. width: 20%;
  245. }
  246. #tbl_versions caption
  247. {
  248. color: maroon;
  249. font-size: 1.1em;
  250. margin-bottom: 5px;
  251. text-align: left;
  252. }
  253. .tbl_versions_ligneOS
  254. {
  255. padding-left: 5px;
  256. font-size: 1.05em;
  257. background-color: rgba(128, 0, 0, 0.8);
  258. color: white;
  259. }
  260. /*frm d'inscription*/
  261. #frm_inscr
  262. {
  263. display: inline-blocks;
  264. vertical-align: center;
  265. text-align: left;
  266. }
  267. /*pied de page*/
  268. footer
  269. {
  270. text-align: right;
  271. font-size: 0.8em;
  272. padding: 20px;
  273. }
  274. /*conte*/
  275. #conte
  276. {
  277. width: 100%
  278. /*nombre de colonnes*/
  279. -webkit-column-count:3; /* Opera, Safari, Google Chrome */
  280. -moz-column-count: 3; /* Firefox */
  281. column-count: 3; /* Internet Explorer */
  282. /*espace entre les colonnes*/
  283. -webkit-column-gap: 30px;
  284. -moz-column-gap: 30px;
  285. column-gap: 30px;
  286. /*bordure entre les colonnes*/
  287. -webkit-column-rule: 1px solid #555;
  288. -moz-column-rule: 1px solid #555;
  289. column-rule: 1px solid #555;
  290. }
  291. #conte h2
  292. /*etaler le titre sur plusieurs colonnes*/
  293. {
  294. -webkit-column-span: all;
  295. -moz-column-span: all;
  296. column-span: all;
  297. }