Textkit Logo

Display Greek in Perseus using GentiumAlt

Textkit is a learning community- introduce yourself here. Use the Open Board to introduce yourself, chat about off-topic issues and get to know each other.

Moderators: thesaurus, Jeff Tirey

Display Greek in Perseus using GentiumAlt

Postby savarez » Mon Sep 08, 2008 6:31 am

I don't know if this is the right place for this, but here goes!

I have often wanted to see Greek displayed in Perseus with GentiumAlt, but have never figured out how without making a global browser change. I finally discovered the joys of user stylesheets!

Here's an article on how to create and edit stylesheets on a variety of browsers: http://wiki.noljads.com/User_Stylesheets

And here is the content of my userContent.css file:

--- <snip> ---
@-moz-document url-prefix(http://www.perseus.tufts.edu/)
{
div[class="text_container greek"], :link[target="morph"]
{
font-family: "GentiumAlt", serif !important;
}
}
--- <snip> ---

Pretty simple but it works. Perseus Greek displays with GentiumAlt!
savarez
Textkit Neophyte
 
Posts: 17
Joined: Fri Mar 07, 2008 7:43 pm

Return to Open Board

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 20 guests