joinpeertube/src/scss/main.scss
2019-10-24 13:24:32 +02:00

300 lines
5.1 KiB
SCSS

@import "_variables";
@import "_mixins";
@import "_bootstrap-variables";
@import "bootstrap.scss";
@font-face {
font-family: 'Proza Libre';
font-style: normal;
font-display: swap;
font-weight: 400;
src: local('Proza Libre Regular'),
local('Proza Libre-Regular'),
url('../../public/fonts/proza-libre-v4-latin-regular.woff2') format('woff2')
}
@font-face {
font-family: 'Proza Libre';
font-style: normal;
font-display: swap;
font-weight: 600;
src: local('Proza Libre SemiBold'),
local('Proza Libre-SemiBold'),
url('../../public/fonts/proza-libre-v4-latin-600.woff2') format('woff2')
}
@font-face {
font-family: 'PT Sans';
font-style: normal;
font-display: swap;
font-weight: 400;
src: local('PT Sans'), local('PTSans-Regular'),
url('../../public/fonts/pt-sans-v11-latin-regular.woff2') format('woff2')
}
@font-face {
font-family: 'PT Sans';
font-style: normal;
font-display: swap;
font-weight: 600;
src: local('PT Sans Bold'), local('PTSans-Bold'),
url('../../public/fonts/pt-sans-v11-latin-700.woff2') format('woff2')
}
/* Default */
html {
position: relative;
min-height: 100%;
}
body {
font-family: 'PT Sans', sans-serif;
font-size: 16px;
background-color: #ffad5c;
}
.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;
}
}
main {
padding: 0 70px;
background-color: #fff;
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.35);
border: solid 1px #d9d9d9;
@media screen and (max-width: $responsive-screen) {
padding: 0 15px;
}
}
.caret::after {
display: inline-block;
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;
}
p > a {
color: #000;
font-weight: $font-semibold;
border-bottom: 3px solid $orange;
&:hover {
text-decoration: none;
}
}
.jpt-button {
@include disable-default-a-behaviour;
color: #000;
cursor: pointer;
display: flex;
justify-content: center;
font-size: 16px;
font-weight: $font-semibold;
border: 3px solid $orange;
border-radius: 4px;
background-color: transparent;
align-items: center;
svg {
width: 18px;
height: 18px;
}
@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) {
width: 100% !important;
min-width: unset !important;
padding: 0 5px !important;
}
}
.jpt-big-button-icon svg {
margin-right: 30px;
@media screen and (max-width: $responsive-screen) {
margin-right: 0;
}
}
.jpt-button-medium {
border-width: 2px;
}
.section-title,
.subtitle {
display: flex;
align-items: center;
.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;
}
.brand-title {
margin-left: 10px;
height: 40px;
vertical-align: sub;
}
@media screen and (max-width: $small-screen) {
margin: 50px 0 30px 0;
}
}
.subtitle {
font-family: 'Proza Libre', sans-serif;
font-size: 24px;
font-weight: $font-semibold;
margin-top: 100px;
white-space: nowrap;
@media screen and (max-width: $responsive-screen) {
white-space: normal;
}
}
.one-column {
@include one-column;
}
.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;
}
}
.bottom-link-wrapper {
display: flex;
justify-content: flex-end;
width: 100%;
margin: 30px 0;
}
.bottom-link {
@include disable-default-a-behaviour;
font-weight: $font-semibold;
color: #000;
.text {
border-bottom: 3px solid $orange;
padding: 3px 5px;
margin-right: 10px;
}
}
.citation {
display: flex;
font-size: 24px;
margin: 30px 0;
.left-bar {
margin-right: 10px;
min-width: 8px;
background-color: $orange;
}
& + img {
margin-top: 0 !important;
}
}
.title {
font-family: 'Proza Libre', sans-serif;
font-weight: $font-semibold;
}
.title-block {
text-align: center;
margin: auto auto 100px auto;
display: flex;
flex-direction: column;
align-items: center;
max-width: 450px;
.title {
margin-bottom: 10px;
font-size: 34px;
font-weight: $font-semibold;
}
.separator {
margin-top: 30px;
background-color: $orange;
height: 3px;
width: 200px;
}
p {
text-align: center;
}
}
.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;
}