mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
42 lines
859 B
CSS
42 lines
859 B
CSS
/**
|
|
* Word break long <a> tag content for mobile browsers (eg: to prevent links
|
|
* that use a long URL as their clickable text from stretching the site layout
|
|
* on small screens).
|
|
*/
|
|
a {
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
/**
|
|
* Replicate Bootstrap's embed-responsive classes since mkdocs-bootswatch is
|
|
* using an old version of Bootstrap.
|
|
*/
|
|
.embed-responsive {
|
|
position: relative;
|
|
display: block;
|
|
height: 0;
|
|
padding: 0;
|
|
padding-bottom: 0px;
|
|
overflow: hidden;
|
|
}
|
|
.embed-responsive-4by3 {
|
|
padding-bottom: 75%;
|
|
}
|
|
.embed-responsive-16by9 {
|
|
padding-bottom: 56.25%;
|
|
}
|
|
.embed-responsive .embed-responsive-item,
|
|
.embed-responsive embed,
|
|
.embed-responsive iframe,
|
|
.embed-responsive object,
|
|
.embed-responsive video {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 0;
|
|
}
|
|
|