Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @charset "utf-8";
- :root {
- --ss-green: #39b54a;
- --ss-blue: #0000ff;
- --onyx-black: #3e3e3e;
- --jet-black: #2f2f2f;
- --eerie-black: #212121;
- }
- /* Définition des polices personnalisées */
- @font-face {
- font-family: "BebasNeue";
- src: url("../ressources/polices/bebasneue.eot");
- src: url("../ressources/polices/bebasneue.eot?#iefix")
- format("embedded-opentype"),
- url("../ressources/polices/bebasneue.woff") format("woff"),
- url("../ressources/polices/bebasneue.ttf") format("truetype"),
- url("../ressources/polices/bebasneue.svg#BebasNeue") format("svg");
- font-weight: normal;
- font-style: normal;
- }
- @font-face {
- font-family: "abeezeeitalic";
- src: url("../ressources/polices/abeezee-italic-webfont.woff2") format("woff2"),
- url("../ressources/polices/abeezee-italic-webfont.woff") format("woff");
- font-weight: normal;
- font-style: normal;
- }
- @font-face {
- font-family: "abeezeeregular";
- src: url("../ressources/polices/abeezee-regular-webfont.woff2")
- format("woff2"),
- url("../ressources/polices/abeezee-regular-webfont.woff") format("woff");
- font-weight: normal;
- font-style: normal;
- }
- /* Éléments principaux */
- html {
- height: 100%;
- position: relative;
- min-height: 100%;
- }
- body {
- display: block;
- font-family: "abeezeeregular", Arial, sans-serif;
- color: #ffffff;
- background-color: #2f2f2f; /* Jet */
- margin: 0;
- padding: 0;
- margin-bottom: 60px;
- word-wrap: break-word;
- }
- a {
- color: #ffffff;
- text-decoration: none;
- }
- #page {
- background-color: #212121; /* Eerie Balck */
- border-radius: 10px;
- word-wrap: break-word;
- }
- #bloc_page {
- width: auto;
- margin: auto;
- min-height: 100%;
- position: relative;
- margin-bottom: 60px;
- word-wrap: break-word;
- }
- @media all and (max-width: 1024px) {
- #bloc_page {
- width: auto;
- }
- }
- /* Header */
- header {
- display: flex;
- justify-content: space-between;
- align-items: flex-end;
- }
- #titre_principal {
- display: flex;
- flex-direction: row;
- }
- #logo {
- display: flex;
- flex-direction: row;
- align-items: baseline;
- height: 100px;
- }
- #logo img {
- width: 225px;
- height: 127px;
- }
- header h1 {
- font-family: "BebasNeue", serif;
- font-size: 2.5em;
- font-weight: normal;
- margin: 0 0 0 10px;
- }
- header h2 {
- font-family: "BebasNeue", serif;
- font-size: 2.5em;
- font-weight: normal;
- }
- /* Navigation */
- nav ul {
- list-style-type: none;
- display: flex;
- }
- nav li {
- margin-left: 15px;
- }
- nav a {
- font-size: 1.3em;
- color: #e4e4e4;
- padding-bottom: 3px;
- text-decoration: none;
- }
- @media all and (max-width: 1024px) {
- nav {
- width: auto;
- text-align: left;
- }
- nav ul {
- flex-direction: column;
- }
- nav li {
- padding-left: 4px;
- }
- nav a {
- font-size: 1.1em;
- }
- nav a:hover {
- border-bottom: 0;
- }
- }
- .nav-btn::after {
- content: "";
- display: block;
- width: 0;
- height: 2px;
- background: #39b54a;
- transition: width 0.3s;
- }
- .nav-btn:hover::after {
- width: 100%;
- transition: width 0.3s;
- }
- .connex-btn::after {
- content: "";
- display: block;
- width: 0;
- height: 2px;
- background: #0000ff;
- transition: width 0.3s;
- }
- .connex-btn:hover::after {
- width: 100%;
- transition: width 0.3s;
- }
- .esp-btn::after {
- content: "";
- display: block;
- width: 0;
- height: 2px;
- background: #ff0000;
- transition: width 0.3s;
- }
- .esp-btn:hover::after {
- width: 100%;
- transition: width 0.3s;
- }
- .hamburger {
- display: none;
- flex-direction: column;
- justify-content: center;
- cursor: pointer;
- padding: 5px;
- }
- .hamburger:first-child {
- margin-top: 0;
- }
- .bar1,
- .bar2,
- .bar3 {
- width: 35px;
- height: 6px;
- background-color: white;
- margin-top: 6px;
- border-radius: 5px;
- transition: all 0.7s;
- }
- .open .bar1,
- .open .bar2,
- .open .bar3 {
- background-color: var(--ss-green);
- }
- .open .bar1 {
- transform: translateY(200%) rotate(-45deg);
- }
- .open .bar2 {
- transform: rotate(45deg);
- opacity: 0;
- }
- .open .bar3 {
- transform: translateY(-200%) rotate(45deg);
- }
- .nav-ul a {
- display: flex;
- }
- @media all and (max-width: 800px) {
- .hamburger {
- display: flex;
- }
- .nav-ul a {
- justify-content: left;
- }
- .nav-ul {
- justify-content: left;
- position: fixed;
- top: 120px;
- width: 100%;
- height: 100%;
- align-content: flex-start;
- list-style: none;
- margin: 0;
- padding: 0;
- pa
- }
- #slogan {
- display: none;
- }
- }
- #nav-ul-after {
- position: absolute;
- }
- /* Corps */
- #form-title {
- font-family: "BabasNeue", sans-serif;
- text-decoration: underline;
- }
- form {
- margin-top: 2em;
- margin-bottom: 2em;
- margin-left: 2em;
- margin-right: 2em;
- padding-bottom: 1em;
- }
- label {
- display: block;
- font: 1em "abeezeeitalic", sans-serif;
- }
- input[type="submit"],
- label {
- margin-top: 1rem;
- }
- .required {
- color: red;
- }
- #mdp,
- #email,
- #pseudo,
- #mdp_valid {
- border-radius: 10px;
- height: 20px;
- font-family: "abeezeeregular", sans-serif;
- }
- input[type="submit"],
- #validate {
- border-radius: 5px;
- font-family: "abeezeeregular", sans-serif;
- height: 30px;
- }
- input[type="submit"]:hover {
- background-color: #39b54a;
- cursor: pointer;
- }
- input[type="submit"]:active {
- background-color: #0000ff;
- }
- #story {
- color: #0000ff;
- transition-duration: 0.5s;
- }
- #share {
- color: #39b54a;
- transition-duration: 0.5s;
- }
- #story:hover {
- color: white;
- }
- #share:hover {
- color: white;
- }
- #nothing {
- color: rgba(255, 255, 255, 50%);
- }
- #histoire {
- word-wrap: break-word;
- }
- #last_story {
- background-color: #212121; /* Eerie Balck */
- border-radius: 10px;
- display: flex;
- flex-direction: column;
- }
- #last_story_title {
- text-decoration: underline;
- }
- #last_story h1,
- h2,
- h3,
- p {
- padding-left: 0.5em;
- padding-right: 0.5em;
- padding-top: 0.5em;
- padding-bottom: 0.5em;
- }
- #page h1,
- h2,
- h3,
- h4,
- p {
- padding-left: 0.5em;
- padding-right: 0.5em;
- padding-top: 0.5em;
- padding-bottom: 0.5em;
- }
- #except-link {
- text-decoration: underline;
- color: #298ec8;
- font-family: "abeezeeregular", Arial, sans-serif;
- }
- pre,
- code {
- margin: 0.5em;
- }
- /* Footer */
- #legal,
- #legal a {
- color: #3e3e3e; /* Onyx */
- }
- footer {
- margin-top: auto;
- }
- /* Alertes */
- .error {
- border-color: #ff0000;
- border-radius: 10px;
- }
- /*FROM BOOTSTRAP*/
- .alert {
- position: relative;
- padding: 1rem 1rem;
- margin-bottom: 1rem;
- /*margin-left: auto;*/
- border: 1px solid transparent;
- border-radius: 0.25rem;
- }
- .alert-heading {
- color: inherit;
- }
- .alert-link {
- font-weight: 700;
- }
- .alert-dismissible {
- padding-right: 3rem;
- }
- .alert-dismissible .btn-close {
- position: absolute;
- top: 0;
- right: 0;
- z-index: 2;
- padding: 1.25rem 1rem;
- }
- .alert-primary {
- color: #084298;
- background-color: #cfe2ff;
- border-color: #b6d4fe;
- }
- .alert-primary .alert-link {
- color: #06357a;
- }
- .alert-secondary {
- color: #41464b;
- background-color: #e2e3e5;
- border-color: #d3d6d8;
- }
- .alert-secondary .alert-link {
- color: #34383c;
- }
- .alert-success {
- color: #0f5132;
- background-color: #d1e7dd;
- border-color: #badbcc;
- }
- .alert-success .alert-link {
- color: #0c4128;
- }
- .alert-info {
- color: #055160;
- background-color: #cff4fc;
- border-color: #b6effb;
- }
- .alert-info .alert-link {
- color: #04414d;
- }
- .alert-warning {
- color: #664d03;
- background-color: #fff3cd;
- border-color: #ffecb5;
- }
- .alert-warning .alert-link {
- color: #523e02;
- }
- .alert-danger {
- /*color: #842029;
- background-color: #f8d7da;
- border-color: #f5c2c7;*/
- color: white;
- background-color: #ff0000;
- }
- .alert-danger .alert-link {
- color: #6a1a21;
- }
- .alert-light {
- color: #636464;
- background-color: #fefefe;
- border-color: #fdfdfe;
- }
- .alert-light .alert-link {
- color: #4f5050;
- }
- .alert-dark {
- color: #141619;
- background-color: #d3d3d4;
- border-color: #bcbebf;
- }
- .alert-dark .alert-link {
- color: #101214;
- }
Advertisement
Add Comment
Please, Sign In to add comment