diff --git a/public/resources/css/module/_resources.scss b/public/resources/css/module/_resources.scss index f8b9fb3498..8c29d7a091 100644 --- a/public/resources/css/module/_resources.scss +++ b/public/resources/css/module/_resources.scss @@ -1,18 +1,100 @@ .resources { - display: flex; - justify-content: space-between; - flex-direction: row-reverse; + .flex { + display: flex; + flex-wrap: wrap; + } - @media(max-width: 768px) { - justify-content: center; - flex-direction: column-reverse; + .showcase-content { + @media(max-width: 320px) { + padding: 0; + margin: 0; + } + } + + .resource-tabs { + margin: 0; + padding: 0; + list-style: none; + display: flex; + flex-direction: row-reverse; + + @media(max-width: 500px) { + flex-direction: column-reverse; + } + + .resource-tab { + display: inline; + background-color: #CFD8DC; + padding: $unit (3 * $unit); + border-radius: 2px; + margin-right: 16px; + color: #455A64; + + @media(max-width: 500px) { + margin-right: 0; + margin-bottom: 12px; + } + + &:hover { + cursor: pointer; + background-color: #B0BEC5; + } + + &.selected { + color: #1D77CE; + background-color: #E3F2FB; + font-weight: bold; + } + } + } + + .subsection { + margin-bottom: 64px; + } + + .subsection-title { + font-weight: 400; + } + + .card { + display: inline-block; + width: 320px; + margin-right: $unit * 4; + + @media(max-width: 320px) { + margin-right: 0; + width: 275px; + } + } + + .title-link { + padding: 0 16px; + } + + .description { + padding-bottom: 32px; + line-height: 21px; } a { font-size: 16px; + color: #1a2326; + + &.card-link { + font-size: 14px; + color: #1D77CE; + } + + &:hover { + color: #1D77CE; + } + } + + .form a { + color: $regal; } } .capitalize { - text-transform: capitalize; + text-transform: capitalize !important; } \ No newline at end of file diff --git a/public/resources/index.ejs b/public/resources/index.ejs index bb85fc7ddc..d2a54af0ff 100644 --- a/public/resources/index.ejs +++ b/public/resources/index.ejs @@ -1,16 +1,42 @@ -
Would you like to be listed in this page? Fill out this form.
- -+ Would you like to be listed in this page? Fill out this form. +
+{{ resource.desc }}
+No information found. Submit a description by filling out this form.
+