joinpeertube/src/scss/main.scss

287 lines
4.9 KiB
SCSS
Raw Normal View History

2019-09-06 13:42:29 +00:00
@import "_variables";
2019-09-06 15:37:56 +00:00
@import "_mixins";
2019-09-06 13:42:29 +00:00
2019-09-12 15:44:59 +00:00
@import "_bootstrap-variables";
@import "bootstrap.scss";
2019-09-06 13:42:29 +00:00
@font-face {
font-family: 'Proza Libre';
font-style: normal;
font-display: swap;
font-weight: 400;
2019-09-10 09:59:21 +00:00
src: local('Proza Libre Regular'),
2019-09-06 13:42:29 +00:00
local('Proza Libre-Regular'),
2019-09-11 11:52:20 +00:00
url('../../public/fonts/proza-libre-v4-latin-regular.woff2') format('woff2')
2019-09-06 13:42:29 +00:00
}
@font-face {
font-family: 'Proza Libre';
font-style: normal;
font-display: swap;
font-weight: 600;
2019-09-10 09:59:21 +00:00
src: local('Proza Libre SemiBold'),
2019-09-06 13:42:29 +00:00
local('Proza Libre-SemiBold'),
2019-09-11 11:52:20 +00:00
url('../../public/fonts/proza-libre-v4-latin-600.woff2') format('woff2')
2019-09-06 13:42:29 +00:00
}
2019-09-10 09:59:21 +00:00
@font-face {
font-family: 'PT Sans';
font-style: normal;
font-display: swap;
font-weight: 400;
src: local('PT Sans'), local('PTSans-Regular'),
2019-09-11 11:52:20 +00:00
url('../../public/fonts/pt-sans-v11-latin-regular.woff2') format('woff2')
2019-09-10 09:59:21 +00:00
}
@font-face {
font-family: 'PT Sans';
font-style: normal;
font-display: swap;
font-weight: 600;
src: local('PT Sans Bold'), local('PTSans-Bold'),
2019-09-11 11:52:20 +00:00
url('../../public/fonts/pt-sans-v11-latin-700.woff2') format('woff2')
2019-09-10 09:59:21 +00:00
}
2018-09-21 21:00:42 +00:00
/* Default */
html {
position: relative;
min-height: 100%;
}
body {
2019-09-10 09:59:21 +00:00
font-family: 'PT Sans', sans-serif;
2018-09-21 21:00:42 +00:00
font-size: 16px;
2019-09-06 13:42:29 +00:00
background-color: #ffad5c;
2018-09-21 21:00:42 +00:00
}
2019-09-23 13:29:42 +00:00
.container {
padding-top: 0;
margin-top: 0;
width: 1024px;
@media screen and (max-width: $responsive-screen) {
width: 100%;
max-width: unset;
}
@media screen and (max-width: $small-screen) {
padding: 0;
}
}
2019-09-06 13:42:29 +00:00
main {
padding: 0 70px;
background-color: #fff;
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.35);
border: solid 1px #d9d9d9;
2019-09-23 12:19:51 +00:00
@media screen and (max-width: $responsive-screen) {
padding: 0 15px;
}
2018-09-21 21:00:42 +00:00
}
2019-09-06 13:42:29 +00:00
.caret::after {
2018-09-21 21:00:42 +00:00
display: inline-block;
2019-09-06 13:42:29 +00:00
vertical-align: 0.255em;
content: "";
border-top: 0.3em solid;
border-right: 0.3em solid transparent;
border-bottom: 0;
border-left: 0.3em solid transparent;
2018-09-21 21:00:42 +00:00
}
2019-09-06 13:42:29 +00:00
.jpt-button {
2019-09-20 12:47:07 +00:00
@include disable-default-a-behaviour;
color: #000;
cursor: pointer;
2019-09-06 13:42:29 +00:00
display: flex;
justify-content: center;
font-size: 16px;
font-weight: $font-semibold;
border: 3px solid $orange;
border-radius: 4px;
background-color: transparent;
2019-09-11 09:05:31 +00:00
align-items: center;
2019-09-11 15:36:26 +00:00
svg {
2019-09-06 13:42:29 +00:00
width: 18px;
height: 18px;
}
2019-09-23 12:19:51 +00:00
@media screen and (max-width: $responsive-screen) {
width: auto;
font-size: 14px;
flex-direction: column;
text-align: center;
}
@media screen and (max-width: $small-screen) {
2019-09-23 13:29:42 +00:00
width: 100% !important;
min-width: unset !important;
2019-09-23 12:19:51 +00:00
padding: 0 5px !important;
}
2018-09-21 21:00:42 +00:00
}
2019-09-11 15:36:26 +00:00
.jpt-big-button-icon svg {
margin-right: 30px;
2019-09-23 12:19:51 +00:00
@media screen and (max-width: $responsive-screen) {
margin-right: 0;
}
2019-09-11 15:36:26 +00:00
}
.jpt-button-medium {
2019-09-06 13:42:29 +00:00
border-width: 2px;
}
.section-title,
.subtitle {
2019-09-06 13:42:29 +00:00
display: flex;
align-items: center;
2018-09-21 21:00:42 +00:00
2019-09-06 13:42:29 +00:00
.border-title {
margin-left: 40px;
height: 3px;
background-color: $orange;
flex-grow: 1;
}
}
.section-title {
font-size: 34px;
font-weight: $font-semibold;
margin: 100px 0;
font-family: 'Proza Libre', sans-serif;
.border-title {
margin-top: 4px;
2019-09-10 09:59:21 +00:00
}
.brand-title {
margin-left: 10px;
height: 40px;
2019-09-11 09:05:31 +00:00
vertical-align: sub;
2018-09-21 21:00:42 +00:00
}
2019-09-23 12:19:51 +00:00
@media screen and (max-width: $small-screen) {
margin: 50px 0 30px 0;
}
2018-09-21 21:00:42 +00:00
}
2019-09-06 15:37:56 +00:00
.subtitle {
2019-09-11 09:05:31 +00:00
font-family: 'Proza Libre', sans-serif;
2019-09-06 15:37:56 +00:00
font-size: 24px;
font-weight: $font-semibold;
2019-09-10 09:59:21 +00:00
margin-top: 100px;
2019-09-20 12:47:07 +00:00
white-space: nowrap;
2019-09-23 12:19:51 +00:00
@media screen and (max-width: $responsive-screen) {
white-space: normal;
}
2019-09-06 15:37:56 +00:00
}
.one-column {
2019-09-23 12:19:51 +00:00
@include one-column;
2019-09-06 15:37:56 +00:00
}
.two-columns {
display: flex;
align-items: center;
margin-top: 50px;
& > img,
& > div {
flex-basis: 100%;
}
& > *:first-child {
margin-right: 30px;
}
img {
height: 231px;
width: 416px;
}
@media screen and (max-width: $responsive-screen) {
@include one-column;
}
}
2019-09-06 15:37:56 +00:00
.bottom-link-wrapper {
display: flex;
justify-content: flex-end;
width: 100%;
2019-09-10 09:59:21 +00:00
margin: 30px 0;
2019-09-06 15:37:56 +00:00
}
.bottom-link {
@include disable-default-a-behaviour;
font-weight: $font-semibold;
color: #000;
.text {
border-bottom: 3px solid $orange;
2019-09-20 12:47:07 +00:00
padding: 3px 5px;
2019-09-11 14:39:56 +00:00
margin-right: 10px;
2019-09-06 15:37:56 +00:00
}
}
.citation {
display: flex;
font-size: 24px;
2019-09-10 09:59:21 +00:00
margin: 30px 0;
2019-09-06 15:37:56 +00:00
.left-bar {
margin-right: 10px;
min-width: 8px;
background-color: $orange;
}
2019-09-10 09:59:21 +00:00
& + img {
margin-top: 0 !important;
}
2019-09-06 15:37:56 +00:00
}
2019-09-12 09:21:14 +00:00
.title {
font-family: 'Proza Libre', sans-serif;
font-weight: $font-semibold;
}
.title-block {
text-align: center;
2019-09-12 15:44:59 +00:00
margin: auto auto 100px auto;
2019-09-12 09:21:14 +00:00
display: flex;
flex-direction: column;
align-items: center;
2019-09-12 15:44:59 +00:00
max-width: 450px;
2019-09-12 09:21:14 +00:00
.title {
margin-bottom: 10px;
font-size: 34px;
font-weight: $font-semibold;
}
.separator {
margin-top: 30px;
background-color: $orange;
height: 3px;
width: 200px;
}
}
2019-09-18 15:24:45 +00:00
.tag {
border: 1px solid $orange;
border-radius: 10px;
margin-right: 20px;
font-size: 14px;
min-width: 140px;
height: 25px;
display: flex;
align-items: center;
justify-content: center;
width: fit-content;
}