This repository has been archived on 2023-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
web/2048_fichiers/2048.css

1342 lines
21 KiB
CSS
Executable File

@import url(font-awesome.min.css); /* Pour les icônes */
/* ========================= Début de mon code CSS rajouté ============================= */
.jambon {
display: flex;
justify-content: space-between;
}
.main {
display: flex;
margin-right: 40px;
}
.texte {
margin-top: 20px;
}
.centre {
text-align: center;
}
.mdpincorrect {
color: red;
font-weight: bold;
}
.descriptionNavigateur {
margin: 12px;
padding: 12px;
overflow: auto;
border: 1px black solid;
}
.monAvis {
margin: 12px;
padding: 12px;
overflow: auto;
border-left: 3px;
border-color: black;
border-style: solid;
}
.souligné {
text-decoration: underline;
}
.nomNavigateur {
font-size: 3em;
}
.vert {
color: green;
}
.rouge {
color: red;
}
.footer {
text-align: center;
}
/* ----------------------- MENU ------------------------ */
.menugauche {
margin: 12px;
overflow: auto;
border-radius: 12px 12px 12px 12px;
width: 17em;
border-bottom: 3px black solid;
border-left: 3px black solid;
border-right: 3px black solid;
border-top: 3px black solid;
margin-right: 50px;
text-align: center;
}
.option {
padding: 30px;
display: block;
border-top: 2px black solid;
border-bottom: 2px black solid;
}
.option:hover {
background-color: #dbfeff;
}
.optionhaute {
border-top: 0px black solid;
}
.premieroptiondossier {
border-radius: 12px 0px 0px 0px;
}
.liencave {
margin-left: 20px;
border-left: 2px black solid;
}
.titremenu {
display: inline-block;
margin-top: 10px;
margin-bottom: 10px;
}
/* ----------------------- ESPACE COMMENTAIRE ------------------------ */
.post {
padding: 10px;
}
.pseudo {
font-weight: bold;
}
.commentaire {
margin: 10px;
padding: 10px;
border-left: 3px;
border-color: black;
border-style: solid;
}
/* ----------------------- POLICES ------------------------ */
.toutes {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
/* Définition des polices Ubuntu */
@font-face {
font-family: "condense";
src: url('../ubuntu/Condense.ttf');
}
@font-face {
font-family: "ubuntu";
src: url('../ubuntu/ubuntu.ttf');
}
@font-face {
font-family: "ubuntu-it";
src: url('../ubuntu/ubuntu-it.ttf');
}
@font-face {
font-family: "fin";
src: url('../ubuntu/fin.ttf');
}
@font-face {
font-family: "fin-it";
src: url('../ubuntu/fin-it.ttf');
}
@font-face {
font-family: "gras";
src: url('../ubuntu/gras.ttf');
}
@font-face {
font-family: "gras-it";
src: url('../ubuntu/gras-it.ttf');
}
@font-face {
font-family: "moyen";
src: url('../ubuntu/moyen.ttf');
}
@font-face {
font-family: "moyen-it";
src: url('../ubuntu/moyen-it.ttf');
}
/* Utilisation des polices Ubuntu définies */
.condense {
font-family: condense;
}
.fin {
font-family: fin;
}
.fin-it {
font-family: fin-it;
}
.gras {
font-family: gras;
}
.gras-it {
font-family: gras-it;
}
.moyen {
font-family: moyen;
}
.moyen-it {
font-family: moyen-it;
}
.ubuntu {
font-family: ubuntu;
}
.ubuntu-it {
font-family: ubuntu-it;
}
/* ----------------------- TAILLES DE TEXTE ------------------------ */
.t06 {
font-size: 0.6em;
}
.t07 {
font-size: 0.7em;
}
.t08 {
font-size: 0.8em;
}
.t09 {
font-size: 0.9em;
}
.t10 {
font-size: 1.0em;
}
.t11 {
font-size: 1.1em;
}
.t12 {
font-size: 1.2em;
}
.t13 {
font-size: 1.3em;
}
.t14 {
font-size: 1.4em;
}
.t15 {
font-size: 1.5em;
}
.t16 {
font-size: 1.6em;
}
.t17 {
font-size: 1.7em;
}
.t18 {
font-size: 1.8em;
}
.t19 {
font-size: 1.9em;
}
.t20 {
font-size: 2.0em;
}
.t21 {
font-size: 2.1em;
}
.t22 {
font-size: 2.2em;
}
.t23 {
font-size: 2.3em;
}
.t24 {
font-size: 2.4em;
}
.t25 {
font-size: 2.5em;
}
.t26 {
font-size: 2.6em;
}
.t27 {
font-size: 2.7em;
}
.t28 {
font-size: 2.8em;
}
.t29 {
font-size: 2.9em;
}
.t30 {
font-size: 3.0em;
}
/* ============================= Fin de mon code CSS ========================================== */
/* ============================= Début du code initial HTML5UP ================================ */
/* Box Model */
*, *:before, *:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
/* Basic */
@-ms-viewport {
width: device-width;
}
body {
-ms-overflow-style: scrollbar;
}
@media screen and (max-width: 480px) {
html, body {
min-width: 320px;
}
}
body {
background: #ffffff;
}
body.is-loading *, body.is-loading *:before, body.is-loading *:after {
-moz-animation: none !important;
-webkit-animation: none !important;
-ms-animation: none !important;
animation: none !important;
-moz-transition: none !important;
-webkit-transition: none !important;
-ms-transition: none !important;
transition: none !important;
}
/* Button */
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
-moz-appearance: none;
-webkit-appearance: none;
-ms-appearance: none;
appearance: none;
-moz-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
-webkit-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
-ms-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
border: 0;
cursor: pointer;
display: inline-block;
font-weight: 400;
letter-spacing: 0.125em;
text-align: center;
text-decoration: none;
text-transform: uppercase;
white-space: nowrap;
font-size: 0.75rem;
max-width: 20rem;
height: 3.75em;
line-height: 3.75em;
border-radius: 3.75em;
padding: 0 2.5em;
text-overflow: ellipsis;
overflow: hidden;
}
input[type="submit"].icon:before,
input[type="reset"].icon:before,
input[type="button"].icon:before,
button.icon:before,
.button.icon:before {
margin-right: 0.5rem;
}
input[type="submit"].fit,
input[type="reset"].fit,
input[type="button"].fit,
button.fit,
.button.fit {
display: block;
margin: 0 0 1rem 0;
width: 100%;
}
input[type="submit"].small,
input[type="reset"].small,
input[type="button"].small,
button.small,
.button.small {
font-size: 0.6rem;
height: 3.325em;
line-height: 3.325em;
border-radius: 3.325em;
padding: 0 2em;
}
input[type="submit"].big,
input[type="reset"].big,
input[type="button"].big,
button.big,
.button.big {
font-size: 0.8rem;
height: 4em;
line-height: 4em;
border-radius: 4em;
padding: 0 3em;
}
input[type="submit"].wide,
input[type="reset"].wide,
input[type="button"].wide,
button.wide,
.button.wide {
min-width: 14em;
}
input[type="submit"].disabled, input[type="submit"]:disabled,
input[type="reset"].disabled,
input[type="reset"]:disabled,
input[type="button"].disabled,
input[type="button"]:disabled,
button.disabled,
button:disabled,
.button.disabled,
.button:disabled {
-moz-pointer-events: none;
-webkit-pointer-events: none;
-ms-pointer-events: none;
pointer-events: none;
opacity: 0.25;
}
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
background-color: transparent;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
color: #000000 !important;
}
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
box-shadow: inset 0 0 0 1px #47D3E5;
color: #47D3E5 !important;
}
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
button:active,
.button:active {
background-color: rgba(71, 211, 229, 0.2);
box-shadow: inset 0 0 0 1px #47D3E5;
color: #47D3E5 !important;
}
input[type="submit"].special,
input[type="reset"].special,
input[type="button"].special,
button.special,
.button.special {
background-color: #000000;
box-shadow: none;
color: #ffffff !important;
}
input[type="submit"].special:hover,
input[type="reset"].special:hover,
input[type="button"].special:hover,
button.special:hover,
.button.special:hover {
background-color: #47D3E5;
}
input[type="submit"].special:active,
input[type="reset"].special:active,
input[type="button"].special:active,
button.special:active,
.button.special:active {
background-color: #1ebdd1;
}
/* Form */
form {
margin: 0 0 2rem 0;
}
form .field {
margin: 0 0 1.5rem 0;
clear: both;
}
form .field.half {
clear: none;
width: 50%;
float: left;
padding: 0 0 0 0.75rem;
}
form .field.half.first {
padding: 0 0.75rem 0 0;
}
form .field.third {
clear: none;
width: 33.33333%;
float: left;
padding: 0 0 0 0.75rem;
}
form .field.third.first {
padding: 0 0.75rem 0 0;
}
form > .actions {
clear: both;
margin: 1.875rem 0 0 0 !important;
}
@media screen and (max-width: 736px) {
form .field {
margin: 0 0 1.125rem 0;
}
form .field.half {
padding: 0 0 0 0.5625rem;
}
form .field.half.first {
padding: 0 0.5625rem 0 0;
}
form > .actions {
margin: 1.5rem 0 0 0 !important;
}
}
@media screen and (max-width: 480px) {
form .field.half {
width: 100%;
float: none;
padding: 0;
}
form .field.half.first {
padding: 0;
}
form .field.third {
width: 100%;
float: none;
padding: 0;
}
form .field.third.first {
padding: 0;
}
}
label {
display: block;
font-size: 0.9rem;
font-weight: 400;
margin: 0 0 1rem 0;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
select,
textarea {
-moz-appearance: none;
-webkit-appearance: none;
-ms-appearance: none;
appearance: none;
background-color: transparent;
border-radius: 4px;
border: none;
border: solid 1px;
color: inherit;
display: block;
outline: 0;
padding: 0 0.825rem;
text-decoration: none;
width: 100%;
}
input[type="text"]:invalid,
input[type="password"]:invalid,
input[type="email"]:invalid,
input[type="tel"]:invalid,
input[type="search"]:invalid,
input[type="url"]:invalid,
select:invalid,
textarea:invalid {
box-shadow: none;
}
.select-wrapper {
text-decoration: none;
display: block;
position: relative;
}
.select-wrapper:before {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
text-transform: none !important;
}
.select-wrapper:before {
content: '\f078';
display: block;
height: 2.75rem;
line-height: 2.75rem;
pointer-events: none;
position: absolute;
right: 0;
text-align: center;
top: 0;
width: 2.75rem;
}
.select-wrapper select::-ms-expand {
display: none;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
select {
height: 2.75rem;
}
textarea {
padding: 0.75rem 1rem;
}
input[type="checkbox"],
input[type="radio"] {
-moz-appearance: none;
-webkit-appearance: none;
-ms-appearance: none;
appearance: none;
display: block;
float: left;
margin-right: -2rem;
opacity: 0;
width: 1rem;
z-index: -1;
}
input[type="checkbox"] + label,
input[type="radio"] + label {
text-decoration: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
display: inline-block;
font-size: 1rem;
font-weight: 300;
padding-left: 2.4rem;
padding-right: 0.75rem;
position: relative;
margin-bottom: 0;
}
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
text-transform: none !important;
}
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
border-radius: 4px;
border: solid 1px;
content: '';
display: inline-block;
height: 1.65rem;
left: 0;
line-height: 1.58125rem;
position: absolute;
text-align: center;
top: 0;
width: 1.65rem;
}
input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
content: '\f00c';
}
input[type="checkbox"] + label:before {
border-radius: 4px;
}
input[type="radio"] + label:before {
border-radius: 100%;
}
::-webkit-input-placeholder {
opacity: 1.0;
}
:-moz-placeholder {
opacity: 1.0;
}
::-moz-placeholder {
opacity: 1.0;
}
:-ms-input-placeholder {
opacity: 1.0;
}
.formerize-placeholder {
opacity: 1.0;
}
label {
color: #000000;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
select,
textarea {
border-color: rgba(0, 0, 0, 0.2);
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
border-color: #47D3E5;
box-shadow: 0 0 0 1px #47D3E5;
}
.select-wrapper:before {
color: rgba(0, 0, 0, 0.2);
}
input[type="checkbox"] + label,
input[type="radio"] + label {
color: #000000;
}
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
border-color: rgba(0, 0, 0, 0.2);
}
input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
background-color: #000000;
border-color: #000000;
color: #ffffff;
}
input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
border-color: #47D3E5;
box-shadow: 0 0 0 1px #47D3E5;
}
::-webkit-input-placeholder {
color: rgba(0, 0, 0, 0.75) !important;
}
:-moz-placeholder {
color: rgba(0, 0, 0, 0.75) !important;
}
::-moz-placeholder {
color: rgba(0, 0, 0, 0.75) !important;
}
:-ms-input-placeholder {
color: rgba(0, 0, 0, 0.75) !important;
}
.formerize-placeholder {
color: rgba(0, 0, 0, 0.75) !important;
}
/* Icon */
.icon {
text-decoration: none;
border-bottom: none;
position: relative;
text-align: center;
}
.icon:before {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
text-transform: none !important;
}
.icon > .label {
display: none;
}
.icon.style2:before {
border-radius: 2.75em;
display: inline-block;
height: 2.75em;
line-height: 2.75em;
width: 2.75em;
}
.icon.major {
display: block;
margin: 0 0 1rem 0;
}
.icon.major:before {
font-size: 1.25rem;
}
a.icon.style2:before {
-moz-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
-webkit-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
-ms-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
}
.icon.style2:before {
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
a.icon.style2:hover:before {
box-shadow: inset 0 0 0 1px #47D3E5;
color: #47D3E5;
}
a.icon.style2:active:before {
background-color: rgba(71, 211, 229, 0.1);
box-shadow: inset 0 0 0 1px #47D3E5;
color: #47D3E5;
}
/* Image */
.image {
border: 0;
border-radius: 4px;
display: inline-block;
position: relative;
}
.image img {
display: block;
border-radius: 4px;
}
.image.left, .image.right {
width: 40%;
max-width: 10rem;
}
.image.left img, .image.right img {
width: 100%;
}
.image.left {
float: left;
margin: 0 1.5rem 1rem 0;
top: 0.25rem;
}
.image.right {
float: right;
margin: 0 0 1rem 1.5rem;
top: 0.25rem;
}
.image.fit {
display: block;
margin: 0 0 2rem 0;
width: 100%;
}
.image.fit img {
width: 100%;
}
.image.main {
display: block;
margin: 0 0 3rem 0;
width: 100%;
}
.image.main img {
width: 100%;
}
/* List */
ol {
list-style: decimal;
margin: 0 0 2rem 0;
padding-left: 1.25rem;
}
ol li {
padding-left: 0.25rem;
}
ul {
list-style: disc;
margin: 0 0 2rem 0;
padding-left: 1rem;
}
ul li {
padding-left: 0.5rem;
}
ul.alt {
list-style: none;
padding-left: 0;
}
ul.alt li {
border-top: solid 1px;
padding: 0.5rem 0;
}
ul.alt li:first-child {
border-top: 0;
padding-top: 0;
}
ul.icons {
cursor: default;
list-style: none;
padding-left: 0;
}
ul.icons li {
display: inline-block;
padding: 0 0.75rem 0 0;
}
ul.icons li:last-child {
padding-right: 0;
}
ul.actions {
cursor: default;
list-style: none;
padding-left: 0;
}
ul.actions li {
display: inline-block;
padding: 0 1rem 0 0;
vertical-align: middle;
}
ul.actions li:last-child {
padding-right: 0;
}
ul.actions.small li {
padding: 0 0.5rem 0 0;
}
ul.actions.vertical li {
display: block;
padding: 1rem 0 0 0;
}
ul.actions.vertical li:first-child {
padding-top: 0;
}
ul.actions.vertical li > * {
margin-bottom: 0;
}
ul.actions.vertical.small li {
padding: 0.5rem 0 0 0;
}
ul.actions.vertical.small li:first-child {
padding-top: 0;
}
ul.actions.fit {
display: table;
margin-left: -1rem;
padding: 0;
table-layout: fixed;
width: calc(100% + 1rem);
}
ul.actions.fit li {
display: table-cell;
padding: 0 0 0 1rem;
}
ul.actions.fit li > * {
margin-bottom: 0;
}
ul.actions.fit.small {
margin-left: -0.5rem;
width: calc(100% + 0.5rem);
}
ul.actions.fit.small li {
padding: 0 0 0 0.5rem;
}
@media screen and (max-width: 480px) {
ul.actions {
margin: 0 0 2rem 0;
}
ul.actions li {
padding: 1rem 0 0 0;
display: block;
text-align: center;
width: 100%;
}
ul.actions li:first-child {
padding-top: 0;
}
ul.actions li > * {
width: 100%;
margin: 0 !important;
}
ul.actions li > *.icon:before {
margin-left: -2rem;
}
ul.actions.small li {
padding: 0.5rem 0 0 0;
}
ul.actions.small li:first-child {
padding-top: 0;
}
}
dl {
margin: 0 0 2rem 0;
}
dl dt {
display: block;
font-weight: 400;
margin: 0 0 1rem 0;
}
dl dd {
margin-left: 2rem;
}
dl.style2 dt {
width: 25%;
float: left;
}
dl.style2 dd {
width: 70%;
float: left;
}
dl.style2:after {
content: '';
display: block;
clear: both;
}
ul.alt li {
border-top-color: rgba(0, 0, 0, 0.2);
}
/* Section/Article */
section.special, article.special {
text-align: center;
}
header p {
position: relative;
margin: -0.65rem 0 1.5rem 0;
font-style: italic;
}
header h1 + p {
font-size: 1.375rem;
}
header h2 + p {
font-size: 1.25rem;
}
header h3 + p {
font-size: 1.1rem;
}
header h4 + p,
header h5 + p,
header h6 + p {
font-size: 0.9rem;
}
header p {
color: rgba(0, 0, 0, 0.75);
}
/* Table */
.table-wrapper {
-webkit-overflow-scrolling: touch;
margin: 0 0 2rem 0;
overflow-x: auto;
}
.table-wrapper > table {
margin-bottom: 0;
}
table {
margin: 0 0 2rem 0;
width: 100%;
}
table tbody tr {
border: solid 1px;
border-left: 0;
border-right: 0;
}
table td {
padding: 0.75rem 0.75rem;
}
table th {
font-size: 0.9rem;
font-weight: 400;
padding: 0 0.75rem 0.75rem 0.75rem;
text-align: left;
}
table thead {
border-bottom: solid 2px;
}
table tfoot {
border-top: solid 2px;
}
table.alt {
border-collapse: separate;
}
table.alt tbody tr td {
border: solid 1px;
border-left-width: 0;
border-top-width: 0;
}
table.alt tbody tr td:first-child {
border-left-width: 1px;
}
table.alt tbody tr:first-child td {
border-top-width: 1px;
}
table.alt thead {
border-bottom: 0;
}
table.alt tfoot {
border-top: 0;
}
table.fixed {
table-layout: fixed;
}
table tbody tr {
border-color: rgba(0, 0, 0, 0.2);
}
table tbody tr:nth-child(2n + 1) {
background-color: rgba(0, 0, 0, 0.05);
}
table tbody tr.alt {
background-color: rgba(0, 0, 0, 0.05) !important;
}
table th {
color: #000000;
}
table thead {
border-bottom-color: rgba(0, 0, 0, 0.2);
}
table tfoot {
border-top-color: rgba(0, 0, 0, 0.2);
}
table.alt tbody tr td {
border-color: rgba(0, 0, 0, 0.2);
}
table.uniform tbody tr:nth-child(2n + 1) {
background-color: transparent;
}
/* ============================= Fin du code initial HTML5UP ================================ */