joinpeertube/themes/hugo-bootstrap-premium/static/css/style.css

356 lines
6.5 KiB
CSS
Raw Normal View History

2018-02-28 15:33:36 +00:00
/* 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;
2018-03-21 19:56:16 +00:00
width: 100%;
2018-02-28 15:33:36 +00:00
}
.navbar-brand {
padding: 20px;
vertical-align: baseline;;
}
.navbar-brand-img {
padding: 0px;
}
@media screen and (max-width: 768px) {
a.navbar-brand-img > img {
2018-02-28 15:33:36 +00:00
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;
}
2018-03-16 09:13:35 +00:00
.content p:last-child {
2018-03-16 10:32:58 +00:00
margin: 0;
2018-03-16 09:13:35 +00:00
}
2018-02-28 15:33:36 +00:00
/* Sections background */
body {
background: #211F20 url('../network.png') top center repeat-y;
2018-02-28 15:33:36 +00:00
}
body .content .container {
background: #fff;
margin-top: 30px;
margin-bottom: 30px;
2018-03-21 19:56:16 +00:00
padding-top: 20px;
padding-bottom: 20px;
2018-02-28 15:33:36 +00:00
-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;
}
2018-05-24 09:59:12 +00:00
.intro, .faq, .hof {
2018-02-28 15:33:36 +00:00
background: transparent;
2018-03-21 19:56:16 +00:00
margin-top: -70px;
2018-02-28 15:33:36 +00:00
}
.medias {
2018-02-28 16:54:59 +00:00
background-image: url('../player-peertube-flou.jpg');
2018-02-28 15:33:36 +00:00
background-size: cover;
padding-top: 30px;
padding-bottom: 50px;
text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
color: #fff;
2018-03-15 14:21:04 +00:00
min-height: 400px;
2018-02-28 15:33:36 +00:00
}
.install {
2018-02-28 16:54:59 +00:00
background: #737373 url('../network-o.png') top center;
background-image: url('../player-peertube-flou.jpg');
2018-02-28 15:33:36 +00:00
background-size: cover;
}
.getting-started {
2018-02-28 16:54:59 +00:00
background: #F1680D url('../network-o.png') center center;
2018-02-28 15:33:36 +00:00
}
.why {
2018-02-28 16:54:59 +00:00
background: #F1680D url('../network.png') center center;
2018-02-28 15:33:36 +00:00
}
.how-it-works {
2018-02-28 16:54:59 +00:00
background: #737373 url('../network-o.png') center center;
2018-02-28 15:33:36 +00:00
}
/* Navbar */
#main-header #navbar .btn-group {
margin-top: 8px;
}
.navbar {
background: transparent;
border: none;
2018-03-21 19:56:16 +00:00
margin-top: 30px;
z-index: 2;
2018-02-28 15:33:36 +00:00
}
.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;
2018-03-21 19:56:16 +00:00
opacity: 0.7;
2018-02-28 15:33:36 +00:00
}
.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^="#"],
2018-03-21 11:32:20 +00:00
.install a[href="https://github.com/Chocobozzz/PeerTube/#production"],
2018-03-21 19:56:16 +00:00
.how-it-works a[href^="#"],
.how-it-works a[href*="/faq"],
.faq .col-sm-12 > p a[href="https://framacolibri.org/c/qualite/peertube"],
2018-05-24 09:59:12 +00:00
.getting-started .col-sm-12 > p a[href*="framatube.org"],
.button {
2018-03-21 19:56:16 +00:00
margin-top: 20px;
margin-bottom: 20px;
2018-02-28 15:33:36 +00:00
font-weight: 500;
padding: 10px 16px;
font-size: 18px;
line-height: 1.3333333;
border-radius: 6px;
2018-03-21 19:56:16 +00:00
opacity: 0.8;
text-decoration: none;
display: inline-block;
2018-02-28 15:33:36 +00:00
}
.intro a[href^="#"]:hover,
2018-03-16 08:46:25 +00:00
.install a:hover,
2018-05-24 09:59:12 +00:00
.how-it-works a[href^="#"]:hover,
.button {
2018-03-21 19:56:16 +00:00
opacity: 1;
2018-02-28 15:33:36 +00:00
}
.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"],
2018-03-21 19:56:16 +00:00
.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"],
2018-05-24 09:59:12 +00:00
.getting-started .col-sm-12 > p a[href*="framatube.org"],
.button {
2018-02-28 15:33:36 +00:00
margin-right: auto;
color: #F1680D;
background: #fff;
border: 1px solid #F1680D;
}
2018-05-24 09:59:12 +00:00
.getting-started h2,
a.button {
2018-02-28 15:33:36 +00:00
color: #F1680D;
}
2018-03-15 15:12:18 +00:00
#instances-list {
max-height: 600px;
overflow-y: auto;
}
#instances-list .list-group-item {
height: 70px;
2018-03-16 10:32:58 +00:00
display: flex;
flex-direction: row;
justify-content: center;
}
#instances-list .list-group-item .left-div {
2018-03-15 15:12:18 +00:00
display: flex;
flex-direction: column;
justify-content: center;
2018-05-18 15:35:22 +00:00
width: calc(100% - 160px); /* 100% - .right-div width */
2018-03-16 10:32:58 +00:00
}
#instances-list .list-group-item .right-div {
display: flex;
flex-direction: column;
justify-content: center;
2018-05-18 15:35:22 +00:00
width: 160px;
2018-03-16 10:32:58 +00:00
}
#instances-list .list-group-item .right-div li {
font-size: 0.8em;
font-weight: bold;
2018-03-15 15:12:18 +00:00
}
#instances-list .list-group-item .list-group-item-heading {
margin-bottom: 0;
}
2018-03-16 10:32:58 +00:00
#instances-list .list-group-item .instance-host {
display: inline-block;
margin-left: 5px;
}
2018-03-15 15:12:18 +00:00
#instances-list .list-group-item .list-group-item-text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-top: 5px;
2018-03-22 13:38:08 +00:00
margin-right: 20px;
2018-03-16 10:32:58 +00:00
font-size: 0.8em;
2018-03-15 15:12:18 +00:00
}
2018-03-16 08:46:25 +00:00
.footer {
text-align: center;
}
.row.footer .container {
padding: 0;
margin: 0 -15px;
background-color: #211F20;
2018-03-16 08:46:25 +00:00
color: #fff;
width: calc(100% + 15px);
2018-03-16 08:46:25 +00:00
}
.footer p {
font-size: small;
margin: 0;
2018-03-16 09:13:35 +00:00
padding: 5px 0;
2018-03-16 08:46:25 +00:00
}
2018-03-21 19:56:16 +00:00
footer { /* Hugos footer != JoinPTs footer */
display:none;
}
2018-03-21 19:56:16 +00:00
.faq h2 {
margin: 40px 0px;
}
2018-05-24 09:59:12 +00:00
.thumbnail img {
margin:0;
}
/* Hall of Fame */
2018-05-24 14:08:12 +00:00
.hof ul { /* = .list-inline.well */
margin-left: -5px;
list-style: none;
padding: 19px;
margin-bottom: 20px;
background-color: #f5f5f5;
border: 1px solid #e3e3e3;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}
.hof ul > li {
display: inline-block;
padding-right: 5px;
padding-left: 5px;
}
.hof li:nth-of-type(n+2):before {
2018-05-24 09:59:12 +00:00
content: "▶";
margin-right: 12px;
color: #F1680D;
}
.hof li:nth-of-type(2n+2):before {
2018-05-24 09:59:12 +00:00
color: #211F20;
}
.hof li:nth-of-type(3n+2):before {
2018-05-24 09:59:12 +00:00
color: #737373;
}
/* KKBB */
.intro .embed-responsive + p {
margin-bottom:0;
margin-top: 20px;
}
.intro .col-md-push-6 .button {
margin-bottom:10px;
}
@media (min-width: 1200px) {
[lang="fr"] .intro .col-md-pull-6 a {
margin-top: 36px;
}
}
@media (max-width: 1200px) {
[lang="fr"] .intro .col-md-pull-6 a {
margin-top: -10px;
}
}
@media (min-width: 992px) {
[lang="en"] .intro .col-md-pull-6 a {
margin-top: 39px;
}
}
@media (min-width: 1200px) {
[lang="en"] .intro .col-md-pull-6 a {
margin-top: 11px;
}
}