Skip to content
Snippets Groups Projects
Commit 1deff943 authored by Severine Duvaud's avatar Severine Duvaud
Browse files

Styling

parent 0cf668ae
Branches
No related tags found
No related merge requests found
+Introduction:+
# Introduction:
The SIB CSS is based on the responsive **bootstrap** framework with some custom enhancements.
The SIB CSS is based on the responsive *bootstrap* framework with some custom enhancements.
It provides a good display on many devices (phones, tablets, laptops and desktop computers).
+Guidelines:+
# Guidelines:
**Page Header**
Logo or name of website should appear on the __top left__ of the page
#### Page Header
Logo or name of website should appear on the _top left_ of the page
It is also link (URL) to the home page.
SIB logo should appear on the __top right__ of the page
If several logos are present, the SIB logo should always be __on the very right__.
SIB logo should appear on the _top right_ of the page
If several logos are present, the SIB logo should always be _on the very right_.
#### Page Footer
**Page Footer**
‘SIB Swiss Institute of Bioinformatics’ (URL) should be present in the footer.
If there are several institution URLs, SIB should always be __on the very left__.
If there are several institution URLs, SIB should always be _on the very left_.
#### Page Content
**Page Content**
Currently, CSS classes are available for breadcrumbs, links, buttons, paginations, tables, and multi-columns.
+Package:+
# sib-css-admin-sites package:
The sib-css-admin-sites package provides examples using a minimal version of the new SIB CSS.
......@@ -30,9 +33,11 @@ with 2 types of displays (depending on users' needs):
- logo on the top left
- brand name on the top left
+Technical recommendations:+
# Comments:
#### Footer
- Footer: We do not use any 'position' property for the CSS class 'footer'. Hence, the footer is not positioned in any special way; it is always positioned according to the normal flow of the page. For pages with few content, the footer can thus be in the middle of the page. In such case, you should either add the 'position' property to the 'footer' CSS class, with associated value 'absolute' (but beware of the display when resizing the page) or you should add a 'style' attribute to the div 'container' element with associated value 'min-height:1060px' (for example).
We do not use any 'position' property for the CSS class 'footer'. Hence, the footer is not positioned in any special way; it is always positioned according to the normal flow of the page. For pages with few content, the footer can thus be in the middle of the page. In such case, you should either add the 'position' property to the 'footer' CSS class, with associated value 'absolute' (but beware of the display when resizing the page) or you should add a 'style' attribute to the div 'container' element with associated value 'min-height:1060px' (for example).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment