x x x
x
Only portrait mode is currently supported - please rotate your device.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 21

...

HTML
<style>
/* REMOVE EXTRA SPACE AT TOP */
custom-section-container banner#main-content p:first-child {
    display: none;
}

/* BANNER */

div.banner {
    height: 368px;
    background: url('https://passport-media.s3-us-west-1.amazonaws.com/Morgan+Stanley/msResourcesBanner.jpg');
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
}

div.titleSection {
    margin: 90px 80px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.titleSection .custom-title {
    font-family: 'MS Gloria II Std';
    color: #ffffff;
    font-size: 60px;
}

button.tab-control-button {
    width: 155px;
    height: 54px;
    margin: 0 12px 0 0;
    border-radius: 8px;
    border: solid 2px rgba(255, 255, 255, 0.75);
    background: transparent;
    font-family: Karla;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
	outline: none;
}

button.tab-control-button:hover {
    cursor: pointer;
}

div#resources-container {
    box-sizing: content-box;
    flex-grow: 1;
    overflow-y: auto;
    background-color: var(--secondary-color) !important;
    flex-direction: column;
    border-radius: var(--border-radius);
    color: white !important;
    min-height: 500px;
    margin-left: 40px;
}
.categories {
    color: white;
    font-family: AmazonEmberRegular, Helvetica, sans-serif;
    font-weight: unset;
    width: 80%;
    padding: 20px 0px 2px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: unset;
}
#resources-container .resources-links {
    padding: 8px 16px !important;
    color: white !important;
    font-size: var(--font-size-m);
    font-family: var(--main-font-family);
    font-weight: unset;
    border-radius: var(--border-radius);
    width: 60%;
    margin: 7px auto;
	background: var(--primary-color);
}
#resources-container .resources-links:hover {
    background: #006a31 !important;
}
a.resources-links:active {
    background: var(--s-label-fill);
}
a.resources-links:hover{
	cursor: pointer;
	text-decoration: none;
}
.currently-selected{
   background: #006a31 !important;
}
#main-content {
    margin-top: 40px !important;
}

@media only screen and (min-width: 320px) and (max-width: 480px) {
    div#main-content {
        margin-top: 0px !important;
    }

    .rw_content_layout_macro {
        margin-top: -10px;
    }

    .rw_table_cell {
        width: 100% !important;
        margin: auto;
    }
    
    .rw_table {
        display: flex;
        flex-direction: column;
    }
    
    div#resources-container {
        margin: auto;
        width: 100% !important;
        max-width: unset;
        height: fit-content;
        min-height: unset;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 20px 20px 23px 20px;
    }
    
    .rw_search_item.rw_formatting_item .rw_search_module_container>div {
        width: 100%;
    }

    font.categories {
        display: none;
    }
    
    #resources-container .resources-links {
        margin: 3px;
        width: fit-content;
    }

    .rw_cell.rw_search_module_container {
        background: var(--secondary-color);
        padding-bottom: 23px;
        display: flex;
        padding-left: 23px;
        padding: 0px 23px 23px 23px;
        margin-top: -1px;
    }
    
    div#myCards-resourceContainer {
        width: 90%;
        justify-content: center !important;
        margin-top: -20px;
    }
    
    div.largeimagewithtextbelow-autocards {
        width: 100%;
        margin: 10px 0px;
    }
    
    div.largeimagewithtextbelow-autocards .image-container {
        width: 100%;
    }
    
    a#create-resource {
        display: none;
    }
}

</style>

...