Newer
Older
pre-www / src / assets / css / components / degree-curricula.css
.degree-curricula{
    @apply bg-grey-100;
    &__tabs{
        @apply lg:flex lg:flex-nowrap py-base text-size-lg;
        button{
            @apply block text-grey-300;
            &:not(:first-child){
                @apply lg:ml-2;
            }
            &.is-selected{
                @apply text-black;
            }
        }
    }
}

.degree-curriculum{
    /*fix for using margin of last child element as real inner margin*/
    @apply pb-px;
    &__marquee{
        @apply ml-[calc(var(--grid-offset)*-1)] w-screen;
    }
    &__excerpt{
        @apply text-size-md-lg mb-base;
    }
    &__cols{
        @apply lg:grid grid-cols-2 gap-x-[calc(var(--grid-gutter)*2)] mb-lg;
        > *{
            &:last-child{
                p{
                    @apply xl:text-size-md;
                    &:last-child{
                        @apply mb-0;
                    }
                }
            }
        }
    }
    .block-accordion{
        @apply mb-md;
        + * {
            @apply mb-sm;
        }
    }
}

[data-tab-index]{
    @apply hidden;
}