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

269 lines
4.6 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;
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;
}
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 {
2018-02-28 16:54:59 +00:00
background: #211F20 url('../network.png') top center no-repeat;
2018-02-28 15:33:36 +00:00
}
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 {
background: transparent;
margin-top:-70px;
}
.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;
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^="#"],
2018-03-16 08:46:25 +00:00
.install a,
2018-02-28 15:33:36 +00:00
.how-it-works a[href^="#"] {
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,
2018-03-16 08:46:25 +00:00
.install a:hover,
2018-02-28 15:33:36 +00:00
.how-it-works a[href^="#"]:hover {
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"],
2018-03-16 08:46:25 +00:00
.install a[href*="github"] {
2018-02-28 15:33:36 +00:00
margin-right: auto;
color: #F1680D;
background: #fff;
border: 1px solid #F1680D;
}
.getting-started h2 {
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-03-16 10:32:58 +00:00
flex-grow: 1;
}
#instances-list .list-group-item .right-div {
display: flex;
flex-direction: column;
justify-content: center;
width: 140px;
}
#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-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;
}
.footer .container {
padding: 0 !important;
margin: 0 auto !important;
background-color: #211F20 !important;
color: #fff;
}
.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
}