Guest User

Untitled

a guest
Mar 6th, 2021
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.11 KB | None | 0 0
  1. @charset "utf-8";
  2.  
  3. :root {
  4. --ss-green: #39b54a;
  5. --ss-blue: #0000ff;
  6. --onyx-black: #3e3e3e;
  7. --jet-black: #2f2f2f;
  8. --eerie-black: #212121;
  9. }
  10.  
  11. /* Définition des polices personnalisées */
  12.  
  13. @font-face {
  14. font-family: "BebasNeue";
  15. src: url("../ressources/polices/bebasneue.eot");
  16. src: url("../ressources/polices/bebasneue.eot?#iefix")
  17. format("embedded-opentype"),
  18. url("../ressources/polices/bebasneue.woff") format("woff"),
  19. url("../ressources/polices/bebasneue.ttf") format("truetype"),
  20. url("../ressources/polices/bebasneue.svg#BebasNeue") format("svg");
  21. font-weight: normal;
  22. font-style: normal;
  23. }
  24.  
  25. @font-face {
  26. font-family: "abeezeeitalic";
  27. src: url("../ressources/polices/abeezee-italic-webfont.woff2") format("woff2"),
  28. url("../ressources/polices/abeezee-italic-webfont.woff") format("woff");
  29.  
  30. font-weight: normal;
  31. font-style: normal;
  32. }
  33.  
  34. @font-face {
  35. font-family: "abeezeeregular";
  36. src: url("../ressources/polices/abeezee-regular-webfont.woff2")
  37. format("woff2"),
  38. url("../ressources/polices/abeezee-regular-webfont.woff") format("woff");
  39. font-weight: normal;
  40. font-style: normal;
  41. }
  42.  
  43. /* Éléments principaux */
  44.  
  45. html {
  46. height: 100%;
  47. position: relative;
  48. min-height: 100%;
  49. }
  50.  
  51. body {
  52. display: block;
  53. font-family: "abeezeeregular", Arial, sans-serif;
  54. color: #ffffff;
  55. background-color: #2f2f2f; /* Jet */
  56. margin: 0;
  57. padding: 0;
  58. margin-bottom: 60px;
  59. word-wrap: break-word;
  60. }
  61.  
  62. a {
  63. color: #ffffff;
  64. text-decoration: none;
  65. }
  66.  
  67. #page {
  68. background-color: #212121; /* Eerie Balck */
  69. border-radius: 10px;
  70. word-wrap: break-word;
  71. }
  72.  
  73. #bloc_page {
  74. width: auto;
  75. margin: auto;
  76. min-height: 100%;
  77. position: relative;
  78. margin-bottom: 60px;
  79. word-wrap: break-word;
  80. }
  81.  
  82. @media all and (max-width: 1024px) {
  83. #bloc_page {
  84. width: auto;
  85. }
  86. }
  87.  
  88. /* Header */
  89.  
  90. header {
  91. display: flex;
  92. justify-content: space-between;
  93. align-items: flex-end;
  94. }
  95.  
  96. #titre_principal {
  97. display: flex;
  98. flex-direction: row;
  99. }
  100.  
  101. #logo {
  102. display: flex;
  103. flex-direction: row;
  104. align-items: baseline;
  105. height: 100px;
  106. }
  107.  
  108. #logo img {
  109. width: 225px;
  110. height: 127px;
  111. }
  112.  
  113. header h1 {
  114. font-family: "BebasNeue", serif;
  115. font-size: 2.5em;
  116. font-weight: normal;
  117. margin: 0 0 0 10px;
  118. }
  119.  
  120. header h2 {
  121. font-family: "BebasNeue", serif;
  122. font-size: 2.5em;
  123. font-weight: normal;
  124. }
  125.  
  126. /* Navigation */
  127.  
  128. nav ul {
  129. list-style-type: none;
  130. display: flex;
  131. }
  132.  
  133. nav li {
  134. margin-left: 15px;
  135. }
  136.  
  137. nav a {
  138. font-size: 1.3em;
  139. color: #e4e4e4;
  140. padding-bottom: 3px;
  141. text-decoration: none;
  142. }
  143.  
  144. @media all and (max-width: 1024px) {
  145. nav {
  146. width: auto;
  147. text-align: left;
  148. }
  149.  
  150. nav ul {
  151. flex-direction: column;
  152. }
  153.  
  154. nav li {
  155. padding-left: 4px;
  156. }
  157.  
  158. nav a {
  159. font-size: 1.1em;
  160. }
  161.  
  162. nav a:hover {
  163. border-bottom: 0;
  164. }
  165. }
  166.  
  167. .nav-btn::after {
  168. content: "";
  169. display: block;
  170. width: 0;
  171. height: 2px;
  172. background: #39b54a;
  173. transition: width 0.3s;
  174. }
  175.  
  176. .nav-btn:hover::after {
  177. width: 100%;
  178. transition: width 0.3s;
  179. }
  180.  
  181. .connex-btn::after {
  182. content: "";
  183. display: block;
  184. width: 0;
  185. height: 2px;
  186. background: #0000ff;
  187. transition: width 0.3s;
  188. }
  189.  
  190. .connex-btn:hover::after {
  191. width: 100%;
  192. transition: width 0.3s;
  193. }
  194.  
  195. .esp-btn::after {
  196. content: "";
  197. display: block;
  198. width: 0;
  199. height: 2px;
  200. background: #ff0000;
  201. transition: width 0.3s;
  202. }
  203.  
  204. .esp-btn:hover::after {
  205. width: 100%;
  206. transition: width 0.3s;
  207. }
  208.  
  209. .hamburger {
  210. display: none;
  211. flex-direction: column;
  212. justify-content: center;
  213. cursor: pointer;
  214. padding: 5px;
  215. }
  216.  
  217. .hamburger:first-child {
  218. margin-top: 0;
  219. }
  220.  
  221. .bar1,
  222. .bar2,
  223. .bar3 {
  224. width: 35px;
  225. height: 6px;
  226. background-color: white;
  227. margin-top: 6px;
  228. border-radius: 5px;
  229. transition: all 0.7s;
  230. }
  231.  
  232. .open .bar1,
  233. .open .bar2,
  234. .open .bar3 {
  235. background-color: var(--ss-green);
  236. }
  237.  
  238. .open .bar1 {
  239. transform: translateY(200%) rotate(-45deg);
  240. }
  241.  
  242. .open .bar2 {
  243. transform: rotate(45deg);
  244. opacity: 0;
  245. }
  246.  
  247. .open .bar3 {
  248. transform: translateY(-200%) rotate(45deg);
  249. }
  250.  
  251. .nav-ul a {
  252. display: flex;
  253. }
  254.  
  255. @media all and (max-width: 800px) {
  256. .hamburger {
  257. display: flex;
  258. }
  259.  
  260. .nav-ul a {
  261. justify-content: left;
  262. }
  263.  
  264. .nav-ul {
  265. justify-content: left;
  266. position: fixed;
  267. top: 120px;
  268. width: 100%;
  269. height: 100%;
  270. align-content: flex-start;
  271. list-style: none;
  272. margin: 0;
  273. padding: 0;
  274. pa
  275. }
  276.  
  277. #slogan {
  278. display: none;
  279. }
  280. }
  281.  
  282. #nav-ul-after {
  283. position: absolute;
  284. }
  285.  
  286. /* Corps */
  287.  
  288. #form-title {
  289. font-family: "BabasNeue", sans-serif;
  290. text-decoration: underline;
  291. }
  292.  
  293. form {
  294. margin-top: 2em;
  295. margin-bottom: 2em;
  296. margin-left: 2em;
  297. margin-right: 2em;
  298. padding-bottom: 1em;
  299. }
  300.  
  301. label {
  302. display: block;
  303. font: 1em "abeezeeitalic", sans-serif;
  304. }
  305.  
  306. input[type="submit"],
  307. label {
  308. margin-top: 1rem;
  309. }
  310.  
  311. .required {
  312. color: red;
  313. }
  314.  
  315. #mdp,
  316. #email,
  317. #pseudo,
  318. #mdp_valid {
  319. border-radius: 10px;
  320. height: 20px;
  321. font-family: "abeezeeregular", sans-serif;
  322. }
  323.  
  324. input[type="submit"],
  325. #validate {
  326. border-radius: 5px;
  327. font-family: "abeezeeregular", sans-serif;
  328. height: 30px;
  329. }
  330.  
  331. input[type="submit"]:hover {
  332. background-color: #39b54a;
  333. cursor: pointer;
  334. }
  335.  
  336. input[type="submit"]:active {
  337. background-color: #0000ff;
  338. }
  339.  
  340. #story {
  341. color: #0000ff;
  342. transition-duration: 0.5s;
  343. }
  344.  
  345. #share {
  346. color: #39b54a;
  347. transition-duration: 0.5s;
  348. }
  349.  
  350. #story:hover {
  351. color: white;
  352. }
  353.  
  354. #share:hover {
  355. color: white;
  356. }
  357.  
  358. #nothing {
  359. color: rgba(255, 255, 255, 50%);
  360. }
  361.  
  362. #histoire {
  363. word-wrap: break-word;
  364. }
  365.  
  366. #last_story {
  367. background-color: #212121; /* Eerie Balck */
  368. border-radius: 10px;
  369. display: flex;
  370. flex-direction: column;
  371. }
  372.  
  373. #last_story_title {
  374. text-decoration: underline;
  375. }
  376.  
  377. #last_story h1,
  378. h2,
  379. h3,
  380. p {
  381. padding-left: 0.5em;
  382. padding-right: 0.5em;
  383. padding-top: 0.5em;
  384. padding-bottom: 0.5em;
  385. }
  386.  
  387. #page h1,
  388. h2,
  389. h3,
  390. h4,
  391. p {
  392. padding-left: 0.5em;
  393. padding-right: 0.5em;
  394. padding-top: 0.5em;
  395. padding-bottom: 0.5em;
  396. }
  397.  
  398. #except-link {
  399. text-decoration: underline;
  400. color: #298ec8;
  401. font-family: "abeezeeregular", Arial, sans-serif;
  402. }
  403.  
  404. pre,
  405. code {
  406. margin: 0.5em;
  407. }
  408.  
  409. /* Footer */
  410.  
  411. #legal,
  412. #legal a {
  413. color: #3e3e3e; /* Onyx */
  414. }
  415.  
  416. footer {
  417. margin-top: auto;
  418. }
  419.  
  420. /* Alertes */
  421.  
  422. .error {
  423. border-color: #ff0000;
  424. border-radius: 10px;
  425. }
  426.  
  427. /*FROM BOOTSTRAP*/
  428. .alert {
  429. position: relative;
  430. padding: 1rem 1rem;
  431. margin-bottom: 1rem;
  432. /*margin-left: auto;*/
  433. border: 1px solid transparent;
  434. border-radius: 0.25rem;
  435. }
  436.  
  437. .alert-heading {
  438. color: inherit;
  439. }
  440.  
  441. .alert-link {
  442. font-weight: 700;
  443. }
  444.  
  445. .alert-dismissible {
  446. padding-right: 3rem;
  447. }
  448. .alert-dismissible .btn-close {
  449. position: absolute;
  450. top: 0;
  451. right: 0;
  452. z-index: 2;
  453. padding: 1.25rem 1rem;
  454. }
  455.  
  456. .alert-primary {
  457. color: #084298;
  458. background-color: #cfe2ff;
  459. border-color: #b6d4fe;
  460. }
  461. .alert-primary .alert-link {
  462. color: #06357a;
  463. }
  464.  
  465. .alert-secondary {
  466. color: #41464b;
  467. background-color: #e2e3e5;
  468. border-color: #d3d6d8;
  469. }
  470. .alert-secondary .alert-link {
  471. color: #34383c;
  472. }
  473.  
  474. .alert-success {
  475. color: #0f5132;
  476. background-color: #d1e7dd;
  477. border-color: #badbcc;
  478. }
  479. .alert-success .alert-link {
  480. color: #0c4128;
  481. }
  482.  
  483. .alert-info {
  484. color: #055160;
  485. background-color: #cff4fc;
  486. border-color: #b6effb;
  487. }
  488. .alert-info .alert-link {
  489. color: #04414d;
  490. }
  491.  
  492. .alert-warning {
  493. color: #664d03;
  494. background-color: #fff3cd;
  495. border-color: #ffecb5;
  496. }
  497. .alert-warning .alert-link {
  498. color: #523e02;
  499. }
  500.  
  501. .alert-danger {
  502. /*color: #842029;
  503. background-color: #f8d7da;
  504. border-color: #f5c2c7;*/
  505. color: white;
  506. background-color: #ff0000;
  507. }
  508. .alert-danger .alert-link {
  509. color: #6a1a21;
  510. }
  511.  
  512. .alert-light {
  513. color: #636464;
  514. background-color: #fefefe;
  515. border-color: #fdfdfe;
  516. }
  517. .alert-light .alert-link {
  518. color: #4f5050;
  519. }
  520.  
  521. .alert-dark {
  522. color: #141619;
  523. background-color: #d3d3d4;
  524. border-color: #bcbebf;
  525. }
  526. .alert-dark .alert-link {
  527. color: #101214;
  528. }
  529.  
Advertisement
Add Comment
Please, Sign In to add comment