alessandro trinca tornidor
feat: add message for mobile users for using the project in landscape mode
128c69e
| h1 { | |
| font-size: 24px; | |
| margin-left: 10px; | |
| margin-right: 10px; | |
| margin-block-start: 5px; | |
| margin-block-end: 5px; | |
| } | |
| h4 { | |
| font-size: 18px; | |
| margin-block-start: 2px; | |
| margin-block-end: 2px; | |
| } | |
| caption { | |
| margin-left: 12px; | |
| margin-top: 10px; | |
| text-align: left; | |
| font-weight: bold; | |
| } | |
| td { | |
| padding-left: 10px; | |
| padding-right: 10px; | |
| } | |
| .display-none { | |
| display: none; | |
| } | |
| .display-block { | |
| display: block; | |
| } | |
| .underlinedDarkTurquoise { | |
| text-decoration: underline; | |
| text-decoration-color: darkturquoise; | |
| text-decoration-style: wavy; | |
| } | |
| .underlinedBlue { | |
| color: blue; | |
| text-decoration: underline; | |
| text-decoration-color: blue; | |
| } | |
| .underlinedDarkViolet { | |
| color: darkviolet; | |
| text-decoration: underline; | |
| text-decoration-color: darkviolet; | |
| } | |
| .display-flex { | |
| display: flex; | |
| } | |
| .col-flex30 { | |
| flex: 30%; | |
| } | |
| .col-flex50 { | |
| flex: 50%; | |
| } | |
| .border-green { | |
| border: 1px solid green; | |
| } | |
| .border-blue { | |
| border: 1px solid blue; | |
| } | |
| .border-black { | |
| border: 1px solid black; | |
| } | |
| .padding10px { | |
| padding: 10px; | |
| } | |
| .margin10px { | |
| margin: 10px; | |
| } | |
| .margin5px-left { | |
| margin-left: 10px; | |
| } | |
| .margin5px-right { | |
| margin-right: 10px; | |
| } | |
| .margin5px-top { | |
| margin-top: 5px; | |
| } | |
| .margin2px-bottom { | |
| margin-bottom: 2px; | |
| } | |
| .background-color-lightgray { | |
| background-color: lightgray; | |
| } | |
| .background-color-whitesmoke { | |
| background-color: whitesmoke; | |
| } | |
| .max-height-90vh { | |
| max-height: 90vh; | |
| } | |
| .max-height-80vh { | |
| max-height: 80vh; | |
| } | |
| .overflow-hidden { | |
| /* needed for scroll bar*/ | |
| overflow: hidden; | |
| } | |
| .overflow-auto { | |
| /* needed for scroll bar*/ | |
| overflow: auto; | |
| } | |
| .width-50perc { | |
| width: 50%; | |
| } | |
| .width-80perc { | |
| width: 80%; | |
| } | |
| #id-landscape-message { | |
| display: none; | |
| } | |
| .id-orientation-message { | |
| display: none; | |
| } | |
| @media screen and (max-width: 1024px) and (orientation: portrait) { | |
| .id-orientation-message { | |
| display: block; | |
| text-align: center; | |
| } | |
| .id-orientation-message:before { | |
| color: red; | |
| content: "(Mobile users: use this in landscape mode!)" | |
| } | |
| } | |