Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .button {
- font-size: 20px;
- line-height: normal;
- font-family: "Comic Sans MS";
- color: White;
- background-color: #999999;
- font-weight: bold;
- }
- .Warning
- {
- color: Red;
- }
- p {
- font-family: "Comic Sans MS";
- color: Black;
- }
- @media (max-width: 640px) {
- * {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- }
- /* passer body (et tous les éléments de largeur fixe) en largeur automatique */
- body {
- width: auto;
- margin: 0;
- padding: 0;
- }
- /* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */
- a,
- img,
- table,
- td,
- blockquote,
- code,
- pre,
- textarea,
- input,
- iframe,
- object,
- embed,
- video {
- max-width: 100%;
- }
- /* conserver le ratio des images */
- img {
- height: auto;
- }
- /* gestion des mots longs */
- textarea,
- table,
- td,
- th,
- code,
- pre,
- samp {
- -webkit-hyphens: auto; /* césure propre */
- -moz-hyphens: auto;
- hyphens: auto;
- word-wrap: break-word; /* passage à la ligne forcé */
- }
- code,
- pre,
- samp {
- white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
- }
- /* Passer à une seule colonne (à appliquer aux éléments multi-colonnes) */
- element1,
- element2 {
- float: none;
- width: auto;
- }
- /* masquer les éléments superflus */
- .hide_mobile {
- display: none !important;
- }
- /* Un message personnalisé */
- body:before {
- content: "Version mobile du portail";
- display: block;
- text-align: center;
- font-style: italic;
- color: #777;
- background-color: #EFEFEF;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement