Template:MicroscopeSessionI/styles.css: Difference between revisions

From Arcis Wiki
Created page with "→‎Template:TableTemplate/styles.css: →‎For larger screens (desktop): .floating-table { float: right; width: 300px; →‎Adjust this value as needed: margin: 0 0 10px 10px; box-sizing: border-box; } →‎For smaller screens (mobile): @media screen and (max-width: 768px) { .floating-table { float: none; margin: 10px auto; width: 100%; } }"
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Template:TableTemplate/styles.css */
/* For larger screens (desktop) */
/* For larger screens (desktop) */
.floating-table {
.floating-table {
     float: right;
     float: right;
     width: 300px; /* Adjust this value as needed */
     width: 200px;
     margin: 0 0 10px 10px;
     margin: 0 0 10px 10px;
     box-sizing: border-box;
     box-sizing: border-box;

Latest revision as of 21:23, 24 October 2024

/* For larger screens (desktop) */
.floating-table {
    float: right;
    width: 200px;
    margin: 0 0 10px 10px;
    box-sizing: border-box;
}

/* For smaller screens (mobile) */
@media screen and (max-width: 768px) {
    .floating-table {
        float: none;
        margin: 10px auto;
        width: 100%;
    }
}