The Public Affairs Directorate advises members of the University who are going to use ox.ac.uk as the basis for their own website redesign to do so thoroughly and consistently. These elements have been designed to work together, altering them or the space between them will weaken the overall design. Our website is an important part of our brand and it is everyone’s responsibility to maintain, not detract from, the brand.
This section of the style guide details the core building blocks used by more complex elements throughout the site. To find out further styling details about any of these modules you can right click on the relevant section of the page in Firefox, Safari or Chrome to 'inspect element'.
A note on reset stylesheets
The Oxweb site uses a couple of 'reset' stylesheets. Reset stylesheets are used to reduce browser inconsistencies in rendering of line-height and font sizes etc. These are browser's default styles before an custom styling has been produced. Although becoming less of an issue with modern browsers, they are still required when working with older IE browsers for example.
This site uses Mothership's default styles (mothership/css/mothership-default.css). Mothership is the parent theme of the Oxweb custom theme. It also uses Eric Meyer's style v2.0 reset.css and the HTML5 doctor's reset-html5.css. All of which are provided through the Drupal Mothership module.
These are the brand colours that come from Oxford University's brand guidelines.
The (dark) Oxford blue is used primarily in general page furniture such as the backgrounds on the header and footer. This makes for a strong brand presence throughout the site. Because it features so strongly in these areas, it is not recommended to use it in large areas elsewhere. However it is used more sparingly in smaller elements such as in event date icons and search/filtering bars.
- ExampleHex colourLESS variable
The wide secondary palette (detailed in the brand toolkit) is used to add visual distinction and texture to design elements as well as signifying page links, call-to-actions (e.g buttons) and active pages in navigational elements.
To visually distinguish various areas of pages (the best example being the right-hand sidebar) subtle beige background shades are used (derived from the pantones in the palette). These should be used to separate tertiary content from main content without being over-powering or distracting.
Overuse of the beige backgrounds can have the effect of making a page look drab (especially if there are minimal images), so use of this should be carefully considered and balanced with a good amount of white background areas.
Secondary colours (derived from the Oxford palette) can be introduced to give specific templates their own distinctiveness and compliment the core Oxford blue used throughout. An example of this are the shades of teal (derived from Pantone 562 in the palette) used in backgrounds. These add visual interest to less common content blocks such as ‘Facts & figures’.
Light blue (derived from Pantone 279 in the palette) is used to indicate general actions (links and buttons). Hence, it is also used in various navigational elements such as the block rollover effect on the drop down menus. However, many ever-present navigational links (such as those in the header/footer) do not use this light blue link colour so as not to distract from the main page content and more contextual related links in the sidebar.
A distinctive red colour (derived from Pantone 200 in the palette) is used sparingly to highlight key/primary call to actions (for example the ‘APPLY’ button on the course template). This is to give it more visibility over other actions on the page of less importance.
Custom blog colours
As mentioned previously, secondary colours are used to give specific templates their own distinctiveness. The blogs are an example of this -they have their own subtle colour theming coupled with a slightly different typographic approach to the main headings.
Graduate country page colours
As above, these sections also have their own custom colour schemes to help differentiate them.
Colours used in this manner should always be derived from the Oxford colour palette, must compliment the core Oxford blue and never dominate it (to ensure the Oxford brand is always inherent).
This is a list of colours that are used for alerts around the site. They should not be used to signify anything else as they are not part of the Oxford palette.
Social media colours
This is a list of colours that are used for social media buttons around the site. They should not be used to signify anything else as they are not part of the Oxford palette.
Here we have a list of the fonts in use on the site. Both the PT Sans and PT Serif fonts are load in via Google Fonts and are free fonts. The san serifs (PT Sans) are used for headings and short items of content and serifs (PT Serif) is used for body copy. Font Awesome is an icon font in use on the site it's also freely available.
PT Sans Narrow should only be used for large headings - such as on section index pages, in the homepage main carousel or on the blog landing pages.
PT Serif should only be used for body copy and never in headings, tertiary listings (e.g in the beige sidebar) or teasers (e.g features on index pages) - which all use PT Sans.
PT Sans - @fontPTSans
Font stack: PT Sans, Helvetica Neue, Arial, Helvetica, sans-serifSample:
Whoever is happy will make others happy too. - Anne Frank
PT Sans Narrow - @fontPTSansNar
Font stack: PT Sans Narrow, Helvetica Neue, Arial, Helvetica, sans-serifSample:
Even if I knew that tomorrow the world would go to pieces, I would still plant my apple tree. - Martin Luther
PT Sans Caption - @fontPTSansCap
Font stack: PT Sans Caption, Helvetica Neue, Arial, Helvetica, sans-serifSample:
Failures, repeated failures, are finger posts on the road to achievement. One fails forward toward success. - C. S. Lewis
PT Serif - @fontPTSerif
Font stack: PT Serif, Georgia, Times New Roman, serifSample:
Education is the most powerful weapon which you can use to change the world. - Nelson Mandela
PT Serif Italic 700 - @fontPTSerif700Italic
Font stack: PT Serif 700italic, Georgia, Times New Roman, serifSample:
I think; therefore I am. - Rene Descartes
Font Awesome (Icons) - @fontFontAwesome
Font stack: "FontAwesome"Sample:
Below is a list of reusable font sizes around the site. The LESS variable loosely take the form of T-shirt sizes to make them easier to remember.
16px - @sizeBaseThis the base size, you can use the @sizeBase variable to access it.
4.375em - @sizeSuH1Super size h1 - 70px when directly inheriting from the base size.
3.125em - @sizeSuSuper size - 50px when directly inheriting from the base size.
1.813em - @sizeXXLExtra extra large - 29px when directly inheriting from the base size.
1.625em - @sizeXLExtra large - 26px when directly inheriting from the base size.
1.313em - @sizeLLarge - 21px when directly inheriting from the base size.
1.125em - @sizeMMedium - 18px when directly inheriting from the base size.
1em - @sizeMSMedium small - 16px equal to the base size.
0.938em - @sizeSSmall - 15px when directly inheriting from the base size.
0.813em - @sizeSSSuper Small - 15px when directly inheriting from the base size.
Tablet size overides
2.6em - @tabSizeSuSuper size overide - 42px when directly inheriting from the base size.
1.6875em - @tabSizeXXLExtra extra large overide - 27px when directly inheriting from the base size.
1.5em - @tabSizeXLExtra large overide - 26px when directly inheriting from the base size.
Mobile size overides
2.6em - @mobSizeSuSuper size overide - 30px when directly inheriting from the base size.
General line heights used around the site.
Standard line height - @lineHeight
We are in danger of destroying ourselves by our greed and stupidity. We cannot remain looking inwards at ourselves on a small and increasingly polluted and overcrowded planet. - Stephen Hawking
Heading line height - @lineHeightQuote
Friendship... is not something you learn in school. But if you haven't learned the meaning of friendship, you really haven't learned anything. - Muhammad Ali
Quote line height - @lineHeightQuote
It is the mark of an educated mind to be able to entertain a thought without accepting it.Aristotle
The grid system being used is Responsable Grid version 1.1, this is a fluid grid system.
|Maximum grid columns||12||12 column grid|
|Max page width||1600px||Maxium width on desktop breakpoint|
|Full gutter width||2.118933698%||Halved and added via left and right padding on each col|
|Mobile gutter width||3%||Mobile uses a one column layout but with gutters each side|
This sections details the breakpoint used on the site. The points in which the design breaks and displays a different set of CSS, which are designed to display layouts better on smaller devices.
Below you'll be shown which breakpoint you are currently on. Resize for all examples.
|Desktop||standard styling||Standard styling around the site, this is the default styling|
|Pre-tablet||max-width: 1270px||Predominantly styling to handle the wide menus|
|Tablet||max-width: 1024px||Styling to optimise the tablet experience. Introduction of retina images (ideally to be pixel-ratio query)|
|Tablet (portrait)||max-width: 870px||Easing the tablet experience when users orientate tablets in portrait, also covers 'phablets'|
|Mobile||max-width: 500px||Styling for mobile devices|
Design easing breakpoints
For those areas when the main breakpoint aren't in reach. These breakpoints are discouraged due to maintenance and testing overheads and should only be used when strictly necessary.
|News pages||max-width: 768px|
|Staff events||min-width: 1296px|
|Events view||min-width: 1400px|
There are an array of logos used on Oxford in order to display the Oxford logo in the best quality available depending on the device accessing it. The logos and their usage are shown below.
|This logo is used on the desktop breakpoint. It's the best rendered logo we have where scalability is not required.||oxweb-logo.gif|
|This is an SVG version of the logo, it's best used for scaling as it will not lose its quality. This is used on the pre tablet breakpoint down.||oxweb-logo-square.svg|
|Here we have another SVG however the logo orientation is rectangular. It use less vertical space so which reduces the header space required. We use this logo on the portrait tablet down.||oxweb-logo-rect.svg|