Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VIVO-1588: Document the use of local.css #3178

Closed
chenejac opened this issue Sep 17, 2018 · 2 comments
Closed

VIVO-1588: Document the use of local.css #3178

chenejac opened this issue Sep 17, 2018 · 2 comments

Comments

@chenejac
Copy link
Contributor

Mike Conlon (Migrated from VIVO-1588) said:

New in 1.10 is the ability to create a local.css file whose styles will override those of Vitro, VIVO, or the current theme.

Using local.css, a web developer can style VIVO without creating a theme.

This should be easier than the steps in "Simple Theming" and provide the functionality being sought by "Simple Theming in the technical initiatives document.

@chenejac
Copy link
Contributor Author

Graham Triggs said:

Example local.css, which will

 

  1. Remove the swirly line background (body element)

  2. Change the header to a red background (header#branding)

  3. Replace the VIVO logo with a "new logo" (h1.vivo-logo)

 

/*
Override theme CSS styles by placing them in this file

Note - all themes must include <../../..>/local/css/local.css as the last import.
*/

body {body { background: #f3f3f0;}

header#branding { background: #ff0000;}

h1.vivo-logo { background: url(../images/new-logo.png) 0 0 no-repeat;}

@chenejac
Copy link
Contributor Author

superseded by #4019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants