|
- @charset "UTF-8";
-
- section.topics {
- background-color: $color-primary-light-04;
- background-color: var(--theme-primary-light-04, $color-primary-light-04);
- padding: calc(1.5vw + 30px) 0 calc(1.5vw + 40px);
-
- + .events, + .topics {
- margin-top: 8px;
- }
-
- + .feature {
- margin-top: 0;
- }
-
- @media(max-width: 767px) {
- .row {
- margin: 0 -7px;
- }
- }
-
- .title {
- font-weight: 400;
- }
-
- .col {
- position: relative;
- display: flex;
- flex: 1 1 33.3333%;
- max-width: 33.3333%;
-
- &.width-half {
- flex: 1 1 50%;
- max-width: 50%;
-
- &:first-child:last-child {
- flex: 1 1 100%;
- max-width: 100%;
- }
- }
-
- @media(max-width: 567px) {
- flex: 1 1 50%;
- max-width: 50%;
-
- &:nth-child(odd):last-child {
- flex: 1 1 100%;
- max-width: 100%;
- }
- }
- @media(max-width: 767px) {
- padding: 6px;
- }
- }
-
- .tile {
- position: relative;
- display: flex;
- flex-direction: column;
- background-color: white;
- overflow: hidden;
- width: 100%;
- border-radius: $radius-lg;
- padding: 24px;
- transition: 0.25s ease;
- line-height: 1.2;
- text-align: center;
- text-decoration: none;
-
- @media(max-width: 999px) {
- padding: 14px;
- }
-
- @media(max-width: 767px) {
- font-size: 16px;
- min-height: 84px;
- border-radius: 8px;
- }
-
- .icon-box {
- font-size: 72px;
- line-height: 1;
- color: $color-secondary;
- color: var(--theme-color-secondary, $color-secondary);
- margin-top: 6px;
-
- @media(max-width: 567px) {
- font-size: 50px;
- margin-top: 0;
- }
- }
- }
-
- &[data-type="list"] {
- .col {
- @media(max-width: 567px) {
- flex: 1 1 100%;
- max-width: 100%;
- }
- }
-
- .tile {
- @media(max-width: 999px) {
- padding: 14px 18px;
- }
- }
-
- .icon-box {
- background-color: $color-primary;
- background-color: var(--theme-color-primary, $color-primary);
- color: $color-white;
- color: var(--theme-color-background, $color-white);
- margin: -24px -24px 0;
- padding: 10px 0;
- font-size: 60px;
-
- @media(max-width: 999px) {
- margin: -14px -18px 0;
- }
- @media(max-width: 767px) {
- font-size: 46px;
- }
- }
-
- .text-box {
- display: block;
- text-align: left;
- }
-
- .title {
- text-decoration: none;
- margin-top: 24px;
-
- @media(max-width: 767px) {
- margin: 16px 0 12px;
- font-size: 24px;
- }
- }
-
- .linklist {
- margin-top: 18px;
-
- @media(max-width: 767px) {
- margin-top: 12px;
- }
- }
- }
-
- &:not([data-type="list"]) {
- .text-box {
- display: flex;
- align-items: center;
- justify-content: center;
- flex-grow: 1;
-
- @media(min-width: 1200px) {
- margin-top: 8px;
- }
- }
-
- .title {
- text-decoration: underline;
- margin: 12px 0;
-
- @media(max-width: 999px) {
- margin: 8px 0;
- }
- @media(max-width: 567px) {
- margin: 4px 0;
- }
- }
-
- .tile {
- &:before {
- content: "";
- position: absolute;
- display: block;
- bottom: 0;
- left: 0;
- right: 0;
- height: 8px;
- background-color: $color-secondary;
- background-color: var(--theme-color-secondary, $color-secondary);
- transition: 0.25s $easeOutQuad;
- }
-
- &:after {
- content: "";
- @include fullsize;
- border-radius: 24px;
- @include focus-standalone(true);
- opacity: 0;
- transition: 0.3s ease;
- }
-
- &.focus-visible:focus {
- outline: 0;
-
- &:after {
- opacity: 1;
- }
- }
- &:focus-visible, &-moz-focusring {
- outline: 0;
-
- &:after {
- opacity: 1;
- }
- }
- }
- }
- }
-
- .desktop section.topics:not([data-type="list"]) .tile:hover,
- .mobile section.topics:not([data-type="list"]) .tile:active {
- color: $color-secondary-dark;
- color: var(--theme-color-secondary-intensed, $color-secondary-dark);
-
- &:before {
- height: 14px;
- }
- }
|