224 lines
4.9 KiB
Plaintext
Raw Normal View History

//@import (once) "./variables.less";
2017-07-22 16:43:53 +02:00
@import (once) "../include/infopages.less";
@import (once) "../include/colortheme.less";
.infopages_main();
.infopages_topbar();
@background_lighter: rgba(0,0,0,0.1);
@background_darker: rgba(0,0,0,0.4);
2017-07-22 16:43:53 +02:00
&#cp-main {
color: #FFF;
background: linear-gradient( @background_darker, @background_lighter ), url('/customize/bg14.jpg');
2017-07-22 16:43:53 +02:00
background-size: cover;
min-height: 100vh;
2017-07-22 16:43:53 +02:00
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
.container {
@media only screen and (max-device-width : 576px) {
margin-top: 6em;
}
}
2017-07-22 16:43:53 +02:00
}
.cp-right {
.cp-register-btn {
padding: 0.5em 1em 0.7em 1em;
2017-07-26 10:38:01 +03:00
border: 2px solid #fff;
&:hover {
transform: scale(1.05);
}
}
.cp-login-btn {
color: #fff;
padding: 0.5em 1em 0.7em 1em;
&:hover {
transform: scale(1.05);
}
}
}
2017-07-22 16:43:53 +02:00
.cp-title {
display: flex;
align-items: center;
flex-direction: column;
margin-top: 1.5em;
2017-07-22 16:43:53 +02:00
img {
height: 20vh;
margin-bottom: 1.5em;
2017-07-22 16:43:53 +02:00
}
margin-left: 0;
h1 {
font-family: "Neuropolitical";
2017-07-22 16:43:53 +02:00
//font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", Times, serif;
//font-family: "Raleway";
font-size: 45px;
2017-07-22 16:43:53 +02:00
}
p {
//font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 20px;
//font-style: italic;
}
}
2017-08-04 15:15:35 +03:00
.navbar {
width: 100%;
margin-top: -1em;
@media only screen and (max-device-width: 991px) {
margin-top: 0;
}
2017-08-04 15:15:35 +03:00
.navbar-brand {
background: url(/customize/CryptPad-white-logo.svg) no-repeat;
width: 250px;
height: 50px;
}
2017-08-04 15:15:35 +03:00
a {
color: #fff;
border: 2px solid transparent;
&:visited {
color: rgba(255,255,255,.8);
};
}
2017-08-04 15:15:35 +03:00
.nav-link {
padding: 0.5em 0.7em;
&:hover {
transform: scale(1.05);
};
}
2017-08-04 15:15:35 +03:00
.cp-register-btn {
border: 2px solid #fff;
2017-07-22 16:43:53 +02:00
}
2017-08-04 15:15:35 +03:00
button:focus {
outline: none;
}
2017-08-04 15:15:35 +03:00
.navbar-toggler {
margin-top: 10px;
color: #fff;
2017-08-03 18:09:25 +03:00
}
2017-07-22 16:43:53 +02:00
}
2017-07-22 17:30:13 +02:00
@callout-padding: 15px;
a:hover {
text-decoration: none
}
2017-07-22 16:43:53 +02:00
.bs-callout {
2017-07-22 17:30:13 +02:00
display: flex;
align-items: stretch;
2017-07-22 16:43:53 +02:00
margin: 25px 0;
background:rgba(255,255,255,0.6);
color: black;
transition: all .1s ease-in-out;
2017-07-22 17:30:13 +02:00
box-sizing: border-box;
height: 5em;
position: relative;
a {
color: black;
&:hover { text-decoration-line: none; }
}
2017-08-04 15:15:35 +03:00
div h4 {
@media only screen and (min-device-width: 576px) and (max-device-width: 767px) {
2017-08-04 15:15:35 +03:00
font-size: 1.3em;
}
}
2017-07-22 16:43:53 +02:00
}
2017-07-22 17:30:13 +02:00
h4 {
margin: 0;
2017-07-22 16:43:53 +02:00
}
.cp-callout-more-moremsg,.cp-callout-more-lessmsg {
transform: none !important;
}
2017-07-22 17:30:13 +02:00
.bs-callout div {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
position: absolute;
left: 5em;
2017-07-22 16:43:53 +02:00
}
.bs-callout+.bs-callout {
margin-top: -5px;
}
.bs-callout:hover {
2017-07-24 14:10:40 +02:00
//color: white;
2017-07-22 16:43:53 +02:00
transform: scale(1.05);
cursor: pointer;
2017-07-22 16:43:53 +02:00
}
2017-07-22 17:30:13 +02:00
.bs-callout:hover .fa {
2017-07-24 14:10:40 +02:00
//width: 100%;
2017-07-22 16:43:53 +02:00
}
.bs-callout:hover.cp-callout-more {
transform: none !important;
}
2017-07-22 17:30:13 +02:00
.bs-callout .fa {
display: flex;
align-items: center;
font-size: 2em;
2017-07-24 14:10:40 +02:00
padding-left: 0.57em;
2017-07-22 17:30:13 +02:00
width: 2em;
2017-07-24 14:10:40 +02:00
transition: width 0.1s;
color: #fff;
2017-07-22 17:30:13 +02:00
}
.cp-callout-pad .fa { background-color: @colortheme_pad-bg; }
.cp-callout-code .fa { background-color: @colortheme_code-bg; }
.cp-callout-slide .fa { background-color: @colortheme_slide-bg; }
.cp-callout-poll .fa { background-color: @colortheme_poll-bg; }
.cp-callout-whiteboard .fa { background-color: @colortheme_whiteboard-bg; }
.cp-callout-recent .fa { background-color: @colortheme_drive-bg; }
.cp-hidden { display: none !important; }
2017-07-24 14:10:40 +02:00
.cp-callout-more {
width: auto;
display: inline-block;
align-content: center;
height: 2em;
border-radius: 1em;
margin-left: auto;
margin-right: auto;
margin-top: 0;
2017-07-24 17:56:54 +03:00
background: none;
width: 100%;
2017-07-24 14:10:40 +02:00
div {
.infopages_link();
2017-07-24 17:56:54 +03:00
color: #fff;
2017-07-24 14:10:40 +02:00
.fa {
font-size: inherit;
padding: 0;
width: 1em;
padding-left: 5px;
2017-07-24 17:56:54 +03:00
}
2017-07-24 14:10:40 +02:00
}
2017-07-24 17:56:54 +03:00
}
@media (min-width: 576px) and (max-width: 767px) {
.container {
padding-left: 0;
padding-right: 0;
}
div#cp-main.cp-page-index .cp-topbar .navbar-toggler-left {
left: 5px;
}
}
@media (max-width: 991px) {
#menuCollapse {
text-align: right;
}
.navbar-nav a {
text-align: right !important;
}
2017-08-04 15:15:35 +03:00
.cp-register-btn {
margin-right: 13px;
margin-left: 83vw;
text-align: center;
}
}
@media (max-width: 687px) {
.cp-register-btn {
margin-left: 75vw;
}
}
2017-08-04 15:15:35 +03:00
@media (max-width: 467px) {
.cp-register-btn {
margin-left: 63vw;
}
}
2017-08-04 15:15:35 +03:00