/* Default */
html {
position: relative;
min-height: 100%;
}
body {
font-family: 'Open Sans', 'sans-serif';
font-size: 16px;
}
body > .container {
padding: 0 15px;
margin-top: 0px;
width: 100%;
}
.navbar-brand {
padding: 20px;
vertical-align: baseline;;
}
.navbar-brand-img {
padding: 0px;
}
@media screen and (max-width: 768px) {
a.navbar-brand-img>img {
vertical-align: bottom;
padding: 1em 0 0 15px;
max-width: 80%;
}
}
a.navbar-brand-img > img {
vertical-align: bottom;
}
img {
display: block;
max-width: 100%;
height: auto;
}
p {
margin-bottom: 15px;
font-size: 18px;
}
/* Peertube */
/* *
* Orange : #F1680D;
* Noir : #211F20;
* Gris : #737373;
* Blanc : #fff;
* */
.content img {
max-width: 100%;
height: auto;
margin: 40px auto;
}
.content p:last-child {
margin: 0;
}
/* Sections background */
body {
background: #211F20 url('../network.png') top center repeat-y;
}
body .content .container {
background: #fff;
margin-top: 30px;
margin-bottom: 30px;
padding-top: 20px;
padding-bottom: 20px;
-webkit-box-shadow: 0px 3px 4px rgba(50, 50, 50, 0.2);
-moz-box-shadow: 0px 3px 4px rgba(50, 50, 50, 0.2);
box-shadow: 0px 3px 4px rgba(50, 50, 50, 0.2);
}
body .medias .container {
background: transparent;
}
.intro, .faq, .hof {
background: transparent;
margin-top: -70px;
}
.intro .embed-responsive + p {
margin-bottom:0;
margin-top: 20px;
}
.intro .col-md-push-7 .button {
margin-bottom:10px;
}
.intro .col-md-pull-5 {
margin-left:-15px;
}
.medias {
background-image: url('../player-peertube-flou.jpg');
background-size: cover;
padding-top: 30px;
padding-bottom: 50px;
text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
color: #fff;
min-height: 400px;
}
.install {
background: #737373 url('../network-o.png') top center;
background-image: url('../player-peertube-flou.jpg');
background-size: cover;
}
.getting-started {
background: #F1680D url('../network-o.png') center center;
}
.why {
background: #F1680D url('../network.png') center center;
}
.how-it-works {
background: #737373 url('../network-o.png') center center;
}
/* Navbar */
#main-header #navbar .btn-group {
margin-top: 8px;
}
.navbar {
background: transparent;
border: none;
margin-top: 30px;
z-index: 2;
}
.navbar .container {
background: #f7f7f7;
padding-right: 15px;
-webkit-box-shadow: 0px -1px 4px rgba(50, 50, 50, 0.2);
-moz-box-shadow: 0px -1px 4px rgba(50, 50, 50, 0.2);
box-shadow: 0px -1px 4px rgba(50, 50, 50, 0.2);
}
/* Why */
.why .col-sm-4 p {
text-align: center;
padding: 30px;
font-size: 1.5em;
color: #F1680D;
opacity: 0.7;
}
.why .col-sm-push-4 p,
.why .col-sm-push-4 h3 {
text-align: right;
}
/* Medias */
.medias li {
list-style: none;
display: inline-block;
vertical-align: middle;
padding: 5px 10px;
}
/* Buttons */
.intro a[href^="#"],
.install a[href="https://github.com/Chocobozzz/PeerTube/#production"],
.how-it-works a[href^="#"],
.how-it-works a[href*="/faq"],
.faq .col-sm-12 > p a[href="https://framacolibri.org/c/qualite/peertube"],
.getting-started .col-sm-12 > p a[href*="framatube.org"],
.button {
margin-top: 20px;
margin-bottom: 20px;
font-weight: 500;
padding: 10px 16px;
font-size: 18px;
line-height: 1.3333333;
border-radius: 6px;
opacity: 0.8;
text-decoration: none;
display: inline-block;
}
.intro a[href^="#"]:hover,
.install a:hover,
.how-it-works a[href^="#"]:hover,
.button {
opacity: 1;
}
.intro a[href="#getting-started"],
.how-it-works a[href="#getting-started"] {
margin-right: 4px;
color: #fff;
background: #F1680D;
}
.intro a[href="#how-it-works"],
.install a[href="https://github.com/Chocobozzz/PeerTube/#production"],
.how-it-works a[href*="/faq"],
.faq .col-sm-12 > p a[href="https://framacolibri.org/c/qualite/peertube"],
.getting-started .col-sm-12 > p a[href*="framatube.org"],
.button {
margin-right: auto;
color: #F1680D;
background: #fff;
border: 1px solid #F1680D;
}
.getting-started h2,
a.button {
color: #F1680D;
}
#instances-list {
max-height: 600px;
overflow-y: auto;
}
#instances-list .list-group-item {
height: 70px;
display: flex;
flex-direction: row;
justify-content: center;
}
#instances-list .list-group-item .left-div {
display: flex;
flex-direction: column;
justify-content: center;
width: calc(100% - 160px); /* 100% - .right-div width */
}
#instances-list .list-group-item .right-div {
display: flex;
flex-direction: column;
justify-content: center;
width: 160px;
}
#instances-list .list-group-item .right-div li {
font-size: 0.8em;
font-weight: bold;
}
#instances-list .list-group-item .list-group-item-heading {
margin-bottom: 0;
}
#instances-list .list-group-item .instance-host {
display: inline-block;
margin-left: 5px;
}
#instances-list .list-group-item .list-group-item-text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-top: 5px;
margin-right: 20px;
font-size: 0.8em;
}
.footer {
text-align: center;
}
.row.footer .container {
padding: 0;
margin: 0 -15px;
background-color: #211F20;
color: #fff;
width: calc(100% + 15px);
}
.footer p {
font-size: small;
margin: 0;
padding: 5px 0;
}
footer { /* Hugo’s footer != JoinPT’s footer */
display:none;
}
.faq h2 {
margin: 40px 0px;
}
.thumbnail img {
margin:0;
}
.hof .list-inline li:nth-of-type(n+2):before {
content: "▶";
margin-right: 12px;
color: #F1680D;
}
.hof .list-inline li:nth-of-type(2n+2):before {
color: #211F20;
}
.hof .list-inline li:nth-of-type(3n+2):before {
color: #737373;
}