mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
css: mobile: Split up libvirt.org specific styles from main template style
Separate the libvirt.org specific stuff from the main template style so that the latter can be reused in libvirt-wiki without modification. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
753a6add46
commit
52145c8997
@ -1,4 +1,5 @@
|
||||
@import url(fonts.css);
|
||||
@import url(generic.css);
|
||||
@import url(libvirt.css);
|
||||
@import url(mobile.css);
|
||||
@import url(mobile-template.css);
|
||||
@import url(mobile-libvirt.css);
|
||||
|
@ -3,7 +3,8 @@ docs_css_files = [
|
||||
'generic.css',
|
||||
'libvirt.css',
|
||||
'main.css',
|
||||
'mobile.css',
|
||||
'mobile-template.css',
|
||||
'mobile-libvirt.css',
|
||||
]
|
||||
|
||||
install_data(docs_css_files, install_dir: docs_html_dir / 'css')
|
||||
|
17
docs/css/mobile-libvirt.css
Normal file
17
docs/css/mobile-libvirt.css
Normal file
@ -0,0 +1,17 @@
|
||||
@media (max-width: 1000px) {
|
||||
#the-virtualization-api > h1,
|
||||
#the-virtualization-api > h2 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#the-virtualization-api section,
|
||||
#the-virtualization-api .section,
|
||||
#documentation section,
|
||||
#documentation .section,
|
||||
#knowledge-base section,
|
||||
#knowledge-base .section {
|
||||
width: 100%;
|
||||
margin-left: 0px;
|
||||
float: none;
|
||||
}
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
/* Style for the page.xsl template */
|
||||
@media (max-width: 1000px) {
|
||||
#home {
|
||||
width: 100%;
|
||||
@ -20,10 +21,6 @@
|
||||
#search form {
|
||||
padding: 5px;
|
||||
}
|
||||
#the-virtualization-api > h1,
|
||||
#the-virtualization-api > h2 {
|
||||
display: none;
|
||||
}
|
||||
#jumplinks {
|
||||
padding: 0px;
|
||||
display: block;
|
||||
@ -88,16 +85,6 @@
|
||||
#body {
|
||||
margin-top: 180px;
|
||||
}
|
||||
#the-virtualization-api section,
|
||||
#the-virtualization-api .section,
|
||||
#documentation section,
|
||||
#documentation .section,
|
||||
#knowledge-base section,
|
||||
#knowledge-base .section {
|
||||
width: 100%;
|
||||
margin-left: 0px;
|
||||
float: none;
|
||||
}
|
||||
#advancedsearch {
|
||||
margin-top: 4em;
|
||||
border: 0px;
|
Loading…
Reference in New Issue
Block a user