esphome-docs/_static/custom.css

189 lines
2.8 KiB
CSS
Raw Normal View History

2018-05-13 11:37:02 +02:00
.row-odd {
background-color: #f3f6f6;
}
.table-center tr.row-even > td {
2018-05-13 11:37:02 +02:00
text-align: center;
}
div.document {
margin-bottom: 50px;
}
div.body {
min-width: initial;
}
div.sphinxsidebar {
max-height: 100%;
overflow-y: auto;
}
2018-05-13 11:37:02 +02:00
img.component-image {
border: none;
display: block;
margin-left: auto;
margin-right: auto;
height: 85px;
object-fit: contain;
border-radius: 10px;
2018-05-13 11:37:02 +02:00
}
table.docutils {
width: 100%;
}
2018-06-13 22:38:49 +02:00
.blink-tag {
-webkit-animation: 2s linear infinite blink_effect;
animation: 2s linear infinite blink_effect;
}
@-webkit-keyframes blink_effect {
0% {
visibility: hidden;
}
50% {
visibility: hidden;
}
100% {
visibility: visible;
2021-06-16 12:51:32 +02:00
}
2018-06-13 22:38:49 +02:00
}
@keyframes blink_effect {
0% {
visibility: hidden;
}
50% {
visibility: hidden;
}
100% {
visibility: visible;
}
2019-01-02 14:49:02 +01:00
}
#upgrade-footer {
position: fixed;
left: 0;
bottom: 0;
right: 0;
width: 100%;
2021-06-16 12:51:32 +02:00
background-color: rgba(20, 20, 20, 0.8);
2019-01-02 14:49:02 +01:00
min-height: 26px;
font-size: 14px;
color: #ccc;
line-height: 26px;
padding: 8px 0 8px 30px;
z-index: 9999;
2021-06-16 12:51:32 +02:00
display: none;
2019-01-02 14:49:02 +01:00
}
.footer-button-container {
margin: 0 60px 0 10px;
float: right;
}
.footer-button {
2019-01-02 14:49:02 +01:00
background-color: #b3b3b3;
color: #4e4e4e;
display: inline-block;
border-radius: 5px;
padding: 0 20px;
margin-left: 10px;
2019-01-02 14:49:02 +01:00
cursor: pointer;
text-decoration: none;
}
.not-hidden {
display: block !important;
}
img.index-shield {
max-width: 100%;
height: 26px;
margin-top: 10px;
}
2019-03-11 19:59:52 +01:00
div.index-shields {
display: flex;
justify-content: space-around;
margin: 0 64px;
}
2019-03-11 19:59:52 +01:00
.supporters-row {
display: flex;
}
.supporters-column {
flex: 50%;
text-align: center;
padding-left: 10px;
padding-right: 10px;
}
.supporters-row .supporters-column:first-child {
border-right: 1px solid #a0a0a0;
}
.supporters-column img {
width: 75%;
display: block;
margin-left: auto;
margin-right: auto;
}
.guide-container {
margin: 32px 0;
display: flex;
justify-content: space-evenly;
}
.guide-card {
2021-06-16 12:51:32 +02:00
color: #004b6b;
display: block;
height: auto;
width: 300px;
background-color: #f3f6f6;
border-radius: 8px;
2021-06-16 12:51:32 +02:00
box-shadow: 4px 4px 8px -4px #00000075;
padding-bottom: 8px;
2021-06-16 12:51:32 +02:00
box-sizing: border-box;
}
.guide-card-title {
font-weight: 300;
margin: 16px !important;
}
.guide-code {
padding: 8px 16px;
margin: 8px;
color: black;
white-space: pre-line;
}
2021-06-16 12:51:32 +02:00
@media screen and (min-width: 870px) {
.guide-card:first-child {
z-index: 100;
}
.guide-card:nth-child(2) {
z-index: 50;
}
.guide-card:not(:first-child) {
margin-left: -40px;
padding-left: 40px;
}
}
@media screen and (max-width: 870px) {
2021-06-16 12:51:32 +02:00
.guide-container {
flex-direction: column;
}
.guide-card {
width: 100%;
margin: 8px 0;
2021-06-16 12:51:32 +02:00
padding: 0px;
}
.guide-card:not(:first-child) {
margin-left: 0;
}
.guide-card ul {
margin-left: 32px;
}
2021-06-16 12:51:32 +02:00
}