Webdesign

Too big spaces between the mail groups in Google Mail Preview (dense) theme.

Chrome custom stylesheet

0

A few days ago I changed my Gmail theme into Preview (dense). It is clean and it suits to other Google services. It fine except one thing: it’s “denceness” is not as good as I want to. The problem is space between mail groups in Inbox. The headers of the group have too big spacing between them (padding-top) and due to that, the page is stretched too much (look at the image attached).

The solution?

Since I cannot edit any CSS files from Gmail’s themes, I had to find a way to change it in the browser. Many apps have their own custom stylesheets that we can edit to make our favorite pages look better. Most of them let us access them from the menu. But not Google Chrome.

To define custom styles for our page we have to change file hidden in the Chrome app directory structure. In Windows it’s placed under: user_dir\AppData\Local\Google\Chrome\User Data\Default\User StyleSheets\Custom.css. 

Update [Oct 20 2011]! In Linux OS it is ~/.config/google-chrome/Default/User StyleSheets.

In the file (empty by default) you need to put your custom CSS code. In my case it was:

.Wg{
	padding-top:4px !important;
}

The !important directive is needed, since the CSS will be ignored as being less important than page stylesheet. Voila! Now we have really dense theme. You can see difference on the image.

Note that when you save the Custom.css file Chrome immediately changes the style for the page (if opened). It useful, when you want to try many options without reloading the page. Another option is running Developers Tools of course.

The last problem is how to make custom stylesheets for different pages. For now, I haven’t been looking for solution, since I don’t need one. If you know any, let me know in the comment.

3857090160_9f65c17e90_b

Homepage like House – page creation hints for beginners

0

Creating your own homepage is a great opportunity to check your abilities in creating web pages for the first time. Usually when you make your own webpage you are doing everything: from making a graphic design through writing HTML, CSS and JavaScript to programming the server-side apps. Many people, especially those, who start creating their own webpage make mistakes by putting everything into the layout. And by everything I mean really everything. People, mostly, those older (e.g. from the universities) think, that by placing more garish elements they will make the homepage more attractive. Obviously, it is huge mistake.

While creating your own homepage it is good to think about it like it would be your real home. I think it is perfect method of creating such a page in many aspects. With this in mind I will show you how should the work over your own homepage look like.

Build your house

Let’s analyze the steps of a house building. When you’re building such you:

  • Choose and buy a plans
  • Buy a terrain for a building
  • Make a foundations
  • Build the walls, floors, roof.
  • Design interior of every room

The way you should build you homepage is similar to the description above. In the next points I will describe the connections between the house and webpage creation. (more…)

Jutro KrakSpot #9

0

Już jutro w krakowskim Qubus Hotel przy ulicy Nadwiślańskiej 6 odbędzie się kolejne, dziewiąte spotkanie barcampowe KrakSpot. Spotkanie rozpocznie się o godzinie 18:00 i jak zwykle będzie trwało do późnego wieczoru. Jak zwykle przygotowano długą agendę, którą można znaleźć na oficjalnej stronie wydarzenia.

KrakSpot to cykliczne, nieformalne spotkanie ludzi związanych z nowymi mediami, pozwalające poznać się lepiej osobom z tego środowiska i wymienić doświadczeniami. W czasie spotkań odbywają się dyskusje, prezentacje o tematyce marketingu, e-commerce, technologii internetowych, start-upów czy usability. Po części prezentacyjnej i dyskusyjnej (gdzie każdy może wejść na scenę i poruszyć jakiś temat) uczestnicy mogą przejść do rozmów kuluarowych, gdzie przy kuflu piwa można z każdym wymienić się doświadczeniami i podyskutować na dowolny temat, nie koniecznie związany z nowymi mediami.

gvChart plugin – jQuery with Google Charts

82

gvChart is a plugin for jQuery, that uses Google Charts to create interactive visualization by using data from the HTML table tag. It is easy in use and additionally it allows you to create five types of the charts.

Check out demo Download plugin from github

Important: Download link and Demo are up to date (version 1.0.1).

Some time ago I tried to find some JavaScript libraries, which would easily create nice charts. I have found two: jQuery Visualise and Google Charts. First one was interesting because of using table HTML tag as a data source for the chart, but it isn’t interactive and there are no labels with values of every chart node. Google Charts provide useful tools for creating interactive charts, but it uses JavaScript Array() as a source of data. So I decided to create my own hybrid of these features. (more…)

Go to Top