1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-18 09:35:20 +02:00
joplin/Assets/WebsiteAssets/css/site.css

1146 lines
19 KiB
CSS
Raw Normal View History

2021-07-04 19:29:55 +02:00
html {
/* https://css-tricks.com/fixed-headers-on-page-links-and-overlapping-content-oh-my/ */
scroll-padding-top: 110px;
}
2021-07-04 19:14:32 +02:00
* {
outline: none;
font-family: "Montserrat", sans-serif;
}
html,
body {
overflow-x: hidden;
font-size: 16px;
}
a {
text-decoration: none;
}
#main-container {
position: relative;
min-height: 100vh;
padding-bottom: 225px;
}
.press-carousel .photo {
width: 123px;
height: 136px;
}
.press-carousel a {
color: inherit;
}
2021-07-04 19:14:32 +02:00
.fw400 {
font-weight: 400;
}
.fw500 {
font-weight: 500;
}
.fw600 {
font-weight: 600;
}
.fw700 {
font-weight: 700;
}
.ml-20 {
margin-left: 20px !important;
}
.ml-30 {
margin-left: 30px;
}
.pointer {
cursor: pointer;
}
.blue-bg {
background-color: rgb(4, 56, 115);
}
.blue-bg * {
color: #fff;
}
.white-bg {
background-color: #fff;
}
.darkblue-bg {
background-color: #072445;
}
.gray-bg {
background-color: #f7fbff;
}
.light-blue,
.light-blue * {
color: #90b1d9;
}
.img-center {
display: block;
margin: auto;
}
.text-right {
text-align: right;
}
.text-left {
text-align: left;
}
.small {
font-size: 16px !important;
}
.donate-button i {
font-size: 0.8em;
}
.donate-button .heart-full {
position: absolute;
opacity: 0;
}
.donate-button:hover .heart-full {
position: static;
opacity: 1;
}
.donate-button:hover .heart-line {
position: absolute;
opacity: 0;
}
2021-07-04 19:14:32 +02:00
a.heading-anchor {
display: inline-block;
opacity: 0;
width: 1.3em;
font-size: 0.7em;
margin-left: 0.4em;
line-height: 1em;
text-decoration: none;
transition: opacity 0.3s;
}
a.heading-anchor:hover,
h1:hover a.heading-anchor,
h2:hover a.heading-anchor,
h3:hover a.heading-anchor,
h4:hover a.heading-anchor,
h5:hover a.heading-anchor,
h6:hover a.heading-anchor {
opacity: 1;
}
.container-fluid {
padding-left: 0px;
padding-right: 0px;
}
.img-fluid {
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
image-rendering: crisp-edges;
-ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
}
img[align="left"] {
margin-right: 10px;
margin-bottom: 10px;
}
h1 {
font-size: 2em;
margin-bottom: 0.7em;
margin-top: 1.2em;
}
h2 {
font-size: 1.5em;
margin-bottom: 0.6em;
margin-top: 1.1em;
border-bottom: 1px solid #ddd;
line-height: 1.3em;
padding-bottom: 0.5em;
2021-07-04 19:14:32 +02:00
}
.front-page h1 {
font-size: 3em;
}
.front-page h2 {
font-size: 2.5em;
border-bottom: none;
}
.front-page p {
font-size: 1.3em;
}
2021-07-04 19:14:32 +02:00
p,
.button-link {
line-height: 30.8px;
font-weight: 400;
text-decoration: none;
color: #32363f;
}
.button-link {
font-size: 18px;
2021-07-04 19:14:32 +02:00
text-align: center;
/* min-width: 300px; */
2021-07-04 19:14:32 +02:00
display: inline-block;
font-weight: 500;
border: solid 1px #fff;
border-radius: 40px;
padding: 8px 20px;
2021-07-04 19:14:32 +02:00
color: #fff;
}
.button-link:hover,
.button-link:focus {
color: #fff;
}
.btn-blue {
background-color: #4f9cf9;
color: #fff !important;
border-color: transparent;
}
.btn-blue:hover {
text-decoration: none !important;
}
.btn-white {
background-color: #fff;
border-color: #4f9cf9;
color: #4f9cf9;
}
.btn-white:hover,
.btn-white:focus {
color: #4f9cf9;
}
.frame-bg {
background-size: contain;
background-position: bottom;
background-repeat: no-repeat;
padding-bottom: 15px;
}
.frame-bg-blue {
background-image: url("../images/frame-blue.png");
}
.frame-bg-blue-lg {
background-image: url("../images/frame-blue-lg.png");
}
.frame-bg-yellow {
background-image: url("../images/frame-yellow.png");
}
.frame-bg-yellow-lg {
background-image: url("../images/frame-yellow-lg.png");
}
/** menu **/
#nav-section {
padding-top: 15px;
padding-bottom: 15px;
position: fixed;
width: 100%;
z-index: 9;
}
2021-07-04 19:14:32 +02:00
#nav-section a {
display: inline-block;
margin-left: 30px;
2021-07-04 19:14:32 +02:00
text-decoration: none;
}
#nav-section a:hover,
#nav-section a:focus {
color: #fff;
text-decoration: underline;
}
#menu-mobile a:hover, #menu-mobile a:focus {
color: #0557ba;
}
.navbar-main .plans-button,
#menu-mobile .plans-button {
color: #0557ba;
border-color: #0557ba;
/* margin-bottom: 10px; */
}
2021-07-04 19:14:32 +02:00
#nav-section.white-bg a {
color: #0557ba;
}
#nav-section.white-bg a:hover,
#nav-section.white-bg a:focus {
color: #0557ba;
text-decoration: underline;
}
/* #nav-section .button-link {
2021-07-04 19:14:32 +02:00
padding: 15px;
min-width: 200px;
text-decoration: none;
} */
2021-07-04 19:14:32 +02:00
#nav-section {
box-shadow: 0 3px 11px 0 rgba(0,0,0,0.1);
}
.nav-item .download-btn:hover,
.nav-item .download-btn:focus {
text-decoration: none;
}
#nav-section .row {
align-items: center;
}
#sponsors-section .sponsor-github-item {
display: inline-flex;
flex-direction: column;
align-items: center;
}
#sponsors-section .sponsors-github,
#sponsors-section .sponsors-org {
margin-left: auto;
margin-right: auto;
max-width: 900px;
padding-bottom: 50px;
}
#sponsors-section .sponsors-org {
display: flex;
justify-content: center;
flex-flow: wrap;
}
#sponsors-section .sponsors-org .sponsor-org-item {
display: inline-flex;
align-items: center;
margin-left: 15px;
margin-bottom: 10px;
}
#sponsors-section .sponsors-org .sponsor-org-item img {
max-width: 256px;
max-height: 80px;
}
#sponsors-section .sponsors-github .sponsor-github-item {
margin-left: 10px;
margin-bottom: 10px;
}
2021-07-04 19:14:32 +02:00
/* top-section */
#top-section {
background-image: url("../images/top-left-bg.png"),
url("../images/top-right-bg.png");
background-repeat: no-repeat, no-repeat;
background-position: left, right bottom;
background-size: contain;
padding-top: 100px;
}
#top-section .download-button {
margin-right: 10px;
margin-bottom: 10px;
2021-07-04 19:14:32 +02:00
}
#top-section .frame-bg {
padding-bottom: 5px;
}
#logo-logo {
width: 180px;
}
#top-section-text {
max-width: 600px;
margin: auto;
}
#top-section-img {
margin-bottom: -280px;
margin-top: 40px;
2021-07-04 19:14:32 +02:00
}
.main-content {
flex: 1;
}
/* multimedia-section */
#multimedia-notes-section {
padding-top: 280px;
padding-bottom: 50px;
background-image: url("../images/multimedia-note-bg.png");
background-repeat: no-repeat;
background-position: left;
background-size: contain;
}
#multimedia-title {
margin-top: 100px;
}
#multimedia-text {
max-width: 540px;
}
/* work-together-section */
#work-together-section {
padding-top: 100px;
padding-bottom: 100px;
background-image: url("../images/work-together-bg.png");
background-position: left;
background-repeat: no-repeat;
background-size: contain;
}
/* save-web-section */
#save-web-section {
padding-top: 80px;
padding-bottom: 80px;
background-image: url("../images/save-web-bg.png");
background-repeat: no-repeat;
background-size: cover;
background-position: left bottom;
}
#save-web-title {
margin-top: 50px;
}
/* customise-it-section */
#customise-it-section {
padding-top: 40px;
padding-bottom: 60px;
2021-07-04 19:14:32 +02:00
background-image: url("../images/customise-it-bg.png");
background-position: 100% 80%;
background-repeat: no-repeat;
background-size: contain;
}
#customise-it-title {
margin-top: 50px;
}
.website-env-prod .alert-env-dev {
display: none;
}
2021-07-04 19:14:32 +02:00
/* your-data-section */
#your-data-section {
padding-top: 80px;
padding-bottom: 80px;
2021-07-04 19:14:32 +02:00
}
/* in-the-press-section */
#in-the-press-section {
padding-top: 0;
padding-bottom: 50px;
2021-07-04 19:14:32 +02:00
background-image: url("../images/in-the-web-bg.png");
background-position: center;
background-repeat: no-repeat;
background-size: auto;
}
#in-the-press-section .carousel-item {
min-height: 550px;
2021-07-04 19:14:32 +02:00
}
#in-the-press-section .carousel-caption {
left: 0;
right: 0;
top: 0;
2021-07-04 19:14:32 +02:00
}
#in-the-press-section .carousel-indicators [data-bs-target] {
background: #4f9cf9;
border-radius: 50px;
width: 25px;
height: 25px;
border: none;
}
.bottom-links {
display: flex;
justify-content: center;
border-top: 1px solid #d4d4d4;
margin-top: 30px;
padding-top: 25px;
}
/* TOC */
#toc ul {
margin-bottom: 10px;
}
#toc > ul > li {
margin-bottom: 10px;
}
#toc {
2021-07-10 12:42:53 +02:00
padding-top: 40px;
2021-07-04 19:14:32 +02:00
padding-bottom: 1em;
display: none;
}
.page-download {
text-align: center;
}
2021-07-04 19:14:32 +02:00
@media (min-width: 767px) {
.content-wrapper{
display: flex;
}
#toc{
display: block!important;
align-self: flex-start;
width: 300px;
position: sticky; top: 20px; left: 0;
}
.main-content{
width: calc(100% - 300px);
}
}
/* your-note-section */
#your-note-section {
padding-top: 50px;
padding-bottom: 0px;
background-image: url("../images/your-note-bg.png");
background-position: left;
background-repeat: no-repeat;
}
#your-note-text {
max-width: 620px;
margin: auto;
}
#your-note-section .button-link {
margin-bottom: 10px;
}
/* footer section */
footer {
padding-top: 50px;
padding-bottom: 30px;
position: absolute;
bottom: 0;
width: 100%;
}
footer a,
footer p {
color: #90b1d9;
text-decoration: none;
}
footer a:hover {
color: #90b1d9;
text-decoration: underline;
}
footer hr {
background-color: #0d3562;
margin: 25px 0px;
}
footer .button-link {
min-width: inherit;
padding: 12px 22px;
font-size: 18px;
margin-top: -12px;
}
footer .right-links a {
margin-left: 15px;
}
/* responsive */
/*
2021-07-04 19:14:32 +02:00
@media (min-width: 1200px) and (max-width: 1799px) {
#nav-section a {
margin-left: 80px;
}
#your-note-section {
background-size: contain;
background-position: bottom;
}
}
@media (min-width: 768px) and (max-width: 1199px) {
#nav-section a {
margin-left: 30px;
}
#nav-section.with-profile a {
margin-left: 20px;
}
#nav-section .button-link {
padding: 8px;
min-width: 160px;
text-decoration: none;
}
.front-page h1 {
font-size: 2.7em;
}
.front-page h2 {
font-size: 2.3em;
border-bottom: none;
}
.front-page p {
font-size: 1.1em;
2021-07-04 19:14:32 +02:00
}
.front-page .button-link {
font-size: 1.1em;
}
2021-07-04 19:14:32 +02:00
.button-link {
min-width: 200px;
padding: 15px 22px;
}
#top-section,
#save-web-section,
#your-note-section {
background-image: inherit;
}
#top-section-img {
margin-bottom: -154px;
margin-top: 30px;
}
#work-together-section,
#save-web-section,
#your-data-section,
#your-note-section {
padding-top: 50px;
padding-bottom: 50px;
}
#your-note-section {
padding-bottom: 20px;
}
#save-web-title,
#customise-it-title {
margin-top: 0px;
}
#multimedia-notes-section {
padding-top: 200px;
}
#multimedia-title {
margin-top: 20px;
}
footer .button-link {
padding: 10px 15px;
font-size: 16px;
}
}
@media (min-width: 1700px) {
#plans-section {
2021-07-04 19:14:32 +02:00
background-image: url("../images/price-bg-left.png"),
url("../images/price-bg-right.png");
background-repeat: no-repeat, no-repeat;
background-position: left, right;
background-size: contain;
}
}
@media (min-width: 992px) and (max-width: 1200px) {
.price-container-blue {
min-height: 785px;
}
.price-container .plan-type img {
width: 55px;
}
.price-container p.plan-type {
font-size: 18px;
}
.price-container p.price {
font-size: 20px;
margin-top: -20px;
}
}
@media (max-width: 991px) {
.frame-bg {
padding-bottom: 8px;
}
#work-together-section {
padding-bottom: 0px;
}
.price-container {
max-width: 400px;
margin: auto;
margin-bottom: 20px;
margin-top: 20px;
min-height: inherit;
}
.price-container-blue {
padding: 30px 20px;
}
#in-the-press-section .carousel-item {
min-height: 650px;
}
}
*/
/*****************************************************************
IN THE PRESS
The "In the press" section height needs to be adjusted as the
window is changed so that the content is fully visible.
*****************************************************************/
@media (max-width: 1200px) {
#in-the-press-section .carousel-item {
min-height: 670px;
2021-07-04 19:14:32 +02:00
}
}
@media (max-width: 767px) {
#in-the-press-section {
padding-top: 0px;
padding-bottom: 50px;
}
#in-the-press-section h2 {
padding-bottom: 20px;
}
#in-the-press-section .carousel {
margin-top: -50px;
}
#in-the-press-section .carousel-item {
min-height: 500px;
}
}
@media (max-width: 500px) {
#in-the-press-section .carousel-item {
min-height: 700px;
}
}
@media (max-width: 300px) {
#in-the-press-section .carousel-item {
min-height: 800px;
}
}
@media (max-width: 991px) {
#nav-section a {
margin-left: 10px;
}
.plans-page {
background:none;
}
}
/*****************************************************************
NARROW VIEW
- Top right menu is displayed
- Sections are changed: columns with text, then button, then image
*****************************************************************/
2021-07-04 19:14:32 +02:00
@media (max-width: 767px) {
#main-container {
position: relative;
min-height: 100vh;
padding-bottom: 260px;
2021-07-04 19:14:32 +02:00
}
.front-page h1 {
font-size: 2.5em;
}
.front-page h2 {
font-size: 2.1em;
border-bottom: none;
}
.front-page p {
font-size: 1em;
2021-07-04 19:14:32 +02:00
}
.front-page .button-link {
font-size: 1em;
2021-07-04 19:14:32 +02:00
}
.ml-mobile-0 {
margin-left: 0px;
2021-07-04 19:14:32 +02:00
}
.img-fluid {
margin: auto;
}
.text-center-sm {
text-align: center !important;
}
#top-section,
#multimedia-notes-section,
#work-together-section,
#your-note-section {
background-image: inherit;
}
#nav-section {
padding-top: 20px;
padding-bottom: 20px;
}
#top-logo {
width: 100px;
}
#menu-mobile {
display: flex;
flex-direction: column;
background-color: #fff;
width: 300px;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
position: fixed;
right: 0;
top: 0;
height: 100%;
padding: 20px 5px 20px 20px;
padding-top: 0;
margin-right: -300px;
box-shadow: -3px 0px 11px 0 rgba(0,0,0,0.1);
}
#menu-mobile a {
margin-left: 0;
}
2021-07-04 19:14:32 +02:00
#toc-mobile {
overflow-y: scroll;
text-align: left;
}
#menu-mobile .menu-mobile-buttons {
display: flex;
justify-content: center;
}
#menu-mobile .menu-mobile-top {
margin-bottom: 1em;
}
#menu-mobile .menu-mobile-buttons .donate-button {
margin-left: .5em;
2021-07-04 19:14:32 +02:00
}
#toc-mobile ul {
list-style-type: none;
padding-left: 0;
}
#toc-mobile ul > li > p {
font-weight: bold;
/* text-align: center; */
2021-07-04 19:14:32 +02:00
margin-top: 1em;
}
#toc-mobile ul > li > ul > li {
font-weight: normal;
margin-bottom: 0.5em;
}
.mobile-menu-link {
color: #32363f;
width: 100%;
display: block !important;
padding: 15px 0px;
border-bottom: solid 1px #d6e2ef;
font-size: 16px;
margin: 0px !important;
}
.mobile-menu-link:hover,
.mobile-menu-link:focus {
color: #32363f !important;
text-decoration: none !important;
}
#menu-mobile .button-link {
padding: 10px 15px;
2021-07-04 19:14:32 +02:00
font-size: 16px;
margin-left: 0px;
}
.mobile-menu-link-bottom {
font-size: 12px;
margin-top: 20px;
}
.mobile-menu-link-bottom a {
margin-left: 0px !important;
}
#top-section,
.page-container {
padding-top: 80px;
2021-07-04 19:14:32 +02:00
}
#top-section-img {
margin-bottom: -90px;
margin-top: 50px;
}
#work-together-section {
padding-top: 10px;
2021-07-04 19:14:32 +02:00
padding-bottom: 0px;
}
#multimedia-notes-section {
padding-top: 30px;
}
#save-web-section,
#customise-it-section,
#your-data-section {
padding-top: 10px;
2021-07-04 19:14:32 +02:00
padding-bottom: 50px;
background-image: inherit;
}
footer {
2021-07-04 19:14:32 +02:00
padding-top: 30px;
padding-bottom: 30px;
2021-07-04 19:14:32 +02:00
}
}
2021-07-04 19:14:32 +02:00
/*****************************************************************
PLANS PAGE
*****************************************************************/
2021-07-04 19:14:32 +02:00
/* .plans-page {
background-image: url("../images/price-bg-left.png"),
url("../images/price-bg-right.png");
background-repeat: no-repeat, no-repeat;
background-position: left, right;
background-size: contain;
} */
2021-07-04 19:14:32 +02:00
/* #plans-section.env-prod .alert-env-mode {
display: none;
} */
#plans-section .sub-title {
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
.plans-page h1 {
font-size: 2.2em;
margin-top:0;
}
.plans-page .title-box p {
margin-bottom: 0;
}
.page-container {
2021-07-10 12:42:53 +02:00
padding-top: 90px;
padding-bottom: 50px;
}
2021-07-10 12:42:53 +02:00
.donate-links {
margin-top: 30px;
}
.price-container {
border: 1px solid #4f9cf9;
background-color: rgba(255,255,255,0.9);
box-sizing: border-box;
border-radius: 20px;
padding: 30px 20px;
padding-bottom: 30px;
margin-bottom: 50px;
margin-top: 60px;
}
.price-container p {
font-size: 16px;
}
.price-container p.price {
font-size: 25px;
margin-top: -10px;
}
.price-container p.unchecked-text {
color: #9db8d9;
}
.price-container p {
font-size: 16px;
}
.price-container-blue {
background: linear-gradient(251.85deg, #0b4f99 -11.85%, #002d61 104.73%);
box-shadow: 0px 4px 16px rgba(105, 132, 172, 0.13);
margin-top: 40px;
padding-top: 50px;
color: white;
}
.price-container .subscribe-wrapper {
margin-top: 2em;
}
.price-row {
display: flex;
flex-direction: row;
margin-bottom: 1em;
}
.price-row .plan-type {
display: flex;
align-items: center;
font-size: 20px;
}
.price-row .plan-type img {
width: 65px;
}
.price-row .plan-price {
display: flex;
align-items: center;
justify-content: flex-end;
flex: 1;
font-size: 25px;
font-weight: bold;
}
.price-row .plan-price .per-month {
font-size: .5em;
font-weight: normal;
}
.price-container-blue p {
color: #fff;
}
.price-container .feature {
font-size: 0.9em;
margin-right: .5em;
color: #4F9CF9;
}
.price-container .feature-off {
opacity: 0.4;
}
@media (max-width: 1400px) {
.price-row .plan-type {
font-size: 16px;
}
.price-row .plan-type img {
width: 40px;
}
.price-row .plan-price {
font-size: 20px;
2021-07-04 19:14:32 +02:00
}
}
@media (max-width: 1000px) {
.price-row .plan-type {
font-size: 20px;
}
.price-row .plan-type img {
width: 65px;
}
.price-row .plan-price {
font-size: 25px;
2021-07-04 19:14:32 +02:00
}
}
/*****************************************************************
MOBILE VIEW
*****************************************************************/
2021-07-04 19:14:32 +02:00
@media (max-width: 400px) {
#top-section {
background-image: url("../images/top-bg-mobile.png");
background-position: bottom;
padding-bottom: 160px;
}
#top-section-img {
margin-bottom: -240px;
margin-top: 130px;
}
#save-web-section {
background-image: url("../images/save-web-bg-mobile.png");
background-position: bottom;
}
#your-note-section {
background-image: url("../images/your-note-bg-mobile.png");
background-position: bottom;
padding-bottom: 170px;
background-size: contain;
}
.price-container p.plan-type {
font-size: 16px;
}
.price-container .plan-type img {
width: 45px;
}
.price-container p.price {
font-size: 18px;
margin-top: -15p;
}
}