Hacking Gmail

(Grace) #1

46 Part II — Getting Inside Gmail


body#gmail-google-com span.lk,
body#gmail-google-com a.lc,
body#gmail-google-com a.lk
{
text-decoration: none !important;
color: #191b4c !important;
}

/* The Search Form */
body#gmail-google-com div#mt1 form{
display: none !important;
}

body#gmail-google-com div#mt1 table{
display: none !important;
}

This code starts by declaring the background color of the whole page to be white,
and then turning off any images by setting them to display:none. This CSS
command is extremely useful for stripping sites of dullness, as you can see, after
the section giving the links and pseudo-links on the page a nice dark blue color.

From the previous section, you already know that the Gmail logo and the search
box are held in a table and a form, inside a div called mt1. By setting both of these
to display:none, you remove them entirely.

The next section of CSS is as follows:
/*------------------------------------------------------------
*/
/*The Navigation Menu */

body#gmail-google-com span#comp {
font-family: cursive;
}

/* sidebar links */
body#gmail-google-com div#nav table.cv,
body#gmail-google-com div#nav table.cv td {
background: #ffffff !important;
}

body#gmail-google-com table.cv td.tl,
body#gmail-google-com table.cv td.bl {
height: 0 !important;
Free download pdf