|
|
| Line 3: |
Line 3: |
| } | | } |
|
| |
|
| /* Table styling */
| | .welcome-banner { |
| .welcome-table { | |
| width: 100%; | | width: 100%; |
| background: #f5f5f5; /* Very light grey, moved from outer table */ | | overflow: hidden; /* Clears the float */ |
| margin-top: 1.2em; /* Moved from outer table */
| |
| border: 1px solid #ccc; /* Moved from outer table */
| |
| border-collapse: collapse;
| |
| } | | } |
|
| |
|
| /* Inner table styling (no longer needed, as there's no nested table) */
| | .welcome-text { |
| /* Text column */
| | width: 70%; |
| .welcome-table td { | | float: left; |
| padding: 0 !important; /* No padding for text cells */ | | background-color: #f0f0f0; /* Optional: for visibility */ |
| margin: 0 !important; /* No margins */ | |
| line-height: 1 !important; /* Tight line spacing */ | |
| vertical-align: top;
| |
| } | | } |
|
| |
|
| /* Image column */
| | .welcome-image { |
| .welcome-table td[style*="width:30%"] { | | width: 30%; |
| vertical-align: middle; /* Center image vertically */ | | float: left; |
| padding-right: 2%; /* Match your original image padding */
| | background-color: #e0e0e0; /* Optional: for visibility */ |
| padding-top: 1%;
| |
| padding-bottom: 1%;
| |
| }
| |
| | |
| /* Image styling */
| |
| .welcome-table td[style*="width:30%"] img {
| |
| width: 100%;
| |
| height: auto; | |
| max-width: 100%; | |
| }
| |
| | |
| /* Mobile responsiveness */ | |
| @media (max-width: 768px) {
| |
| .welcome-table,
| |
| .welcome-table tr,
| |
| .welcome-table td {
| |
| display: block !important;
| |
| width: 100% !important;
| |
| }
| |
| .welcome-table td[style*="width:30%"] {
| |
| display: block !important;
| |
| width: 100% !important;
| |
| vertical-align: top; /* Stack image on top on mobile */
| |
| padding-right: 2%;
| |
| padding-top: 1%;
| |
| padding-bottom: 1%;
| |
| }
| |
| .welcome-table td[style*="width:30%"] img {
| |
| width: 100%;
| |
| height: auto;
| |
| }
| |
| } | | } |
|
| |
|