joinpeertube/app/assets/scss/main.scss

169 lines
2.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
@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-06 15:37:56 +00:00
url('../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-06 15:37:56 +00:00
url('../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'),
url('../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('../fonts/pt-sans-v11-latin-700.woff2') format('woff2')
}
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-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;
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 {
display: flex;
justify-content: center;
font-size: 16px;
font-weight: $font-semibold;
border: 3px solid $orange;
border-radius: 4px;
background-color: transparent;
2019-09-06 13:42:29 +00:00
.icon {
width: 18px;
height: 18px;
}
2018-09-21 21:00:42 +00:00
}
2019-09-06 13:42:29 +00:00
.jpt-button-light {
border-width: 2px;
}
2019-09-06 13:42:29 +00:00
.section-title {
font-size: 34px;
font-weight: $font-semibold;
margin: 100px 0;
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;
2019-09-10 09:59:21 +00:00
margin-top: 6px;
}
.brand-title {
margin-left: 10px;
height: 40px;
vertical-align: text-bottom;
2018-09-21 21:00:42 +00:00
}
}
2019-09-06 15:37:56 +00:00
.subtitle {
font-size: 24px;
font-weight: $font-semibold;
2019-09-10 09:59:21 +00:00
margin-top: 100px;
2019-09-06 15:37:56 +00:00
}
.one-column {
width: 600px;
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
img {
margin: 30px 0;
2019-09-10 09:59:21 +00:00
& + .citation {
margin-top: 0 !important;
}
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;
padding: 0 5px;
margin-right: 5px;
}
}
.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
}