Accéder au contenu.
Menu Sympa

devel - [Devel] Feuille css

Objet : devel-adl

Archives de la liste

[Devel] Feuille css


Chronologique Discussions 
  • From: Air1 <contact AT air1.fr.vu>
  • To: devel AT agendadulibre.org
  • Subject: [Devel] Feuille css
  • Date: Wed, 21 Dec 2005 19:24:00 +0100
  • List-archive: <http://lolut.utbm.info/pipermail/devel>
  • List-id: Developpement de l'Agenda du Libre <devel.agendadulibre.org>

Bonjour,

Je trouvais que l'agenda du libre était un peu triste :-)
Alors je me suis permis de retoucher la feuille de style et je trouve le final plutôt sympa donc je vous la soumets...

Bonne continuation.

Air1
/* Copyright 2005
 * - Erwan Leherisse	<contact CHEZ air1 POINT fr POINT vu>
 * - Mélanie Bats	<melanie POINT bats CHEZ utbm POINT fr>
 * - Thomas Petazzoni	<thomas POINT petazzoni CHEZ enix POINT org>
 * - Jean-Marie Favreau	<jeanmarie POINT favreau CHEZ free POINT fr>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 * 02111-1307, USA.
 */

body {
	margin: 0px 0px 0px 0px;
	color: white;
	background-color: #c7e0ed;
	font-size: 14px;
	font-family: Arial,Helvetica,sans-serif;
	line-height: 24px;
}

div.main {
	margin: 5px 5px 5px 5px;
	padding: 10px 10px 10px 10px;
	color: black;
	background: url('tux-adl.png') 30px 10px no-repeat white;
	-moz-border-radius: 30px;
}

div.footer {
	color: black;
	background-color: white;
        font-size: 14px;
	margin: 5px 5px 5px 5px;
        text-align: center;
}

#important
{
	position: absolute;
	border: 1px dashed black;
	float: right;
	top: 1.5em;
	right: 1.5em;
	width: 20.5em;
}

#important p
{
  margin: 0;
  padding: 2px;
  text-align: center;
  font-size: 12px;
}

h1 {
	text-align: center;
	font-size: 34px;
	font-family : georgia,Arial,Helvetica,sans-serif;
	letter-spacing: 2px;
	margin: 5px 5px 5px 5px;
}

h2 {
     margin-top: 3em;
     text-align: center;
}

h2.calendar {
	margin-top: 1em;
	color : #5d6064;
	/*font-size: 18px;*/ 
}

h3.calendar {
	text-align: center;
}

a:link, a:visited { 
	font-weight: bold; 
	text-decoration: none; 
	color: #336699;
}

a:hover, a:active { 
	color: #c7e0ed;
}

table.calendar {
	width: 90%;
	margin: 0 auto;
}

table.calendar td {
	height: 6em;
	vertical-align: top;
	width: 14%;
	font-size: 12px;
	text-align: left;
	color: #444444;
}

table.calendar td h1 {
	text-align: left;
	font-size: 9px;
	margin: 0px 1px 3px 1px;
	color : #727070;
	line-height: 1.1em;
}

table.calendar td ul {
	padding-left: 15px;
	margin: 0;
	list-style-type: circle;
}

table.calendar td ul li {
	margin: 0px 0px 5px 0px;
	padding: 0px 0px 0px 0px;
	line-height: 1.1em;
}

/*
 * These attributes apply to all cells of the agenda
 */
td a:link, td a:visited {
	font-weight: normal;
	text-decoration: none;
	color: #444444;
}

td a:hover, td a:active {
	color: #72a8ea;
}

/*
 * These attributes apply to the cells that correspond to the days
 * already past in the current month.
 */
td.past_month {
	background: #c7e0ed;
}

td.past_month a:hover, td.past_month a:active {
        color: #000000;
}

/*
 * These attributes apply to the cells that correspond to the future
 * days in the current month.
 */
td.current_month {
	background: #e0faff;/*e0faff--e6fbff*/
}

/*
 * These attributes apply to the cell corresponding to the current day
 */
td.today {
	background: #ffffdf;
        border: 2px #444444 outset;
}

/*
 * These attributes apply to the cells that correspond to days in the
 * previous or next month of the current month
 */
td.other_month {
	background: #eeeeee;
}

td.other_month a:link,  td.other_month a:visited {
      color: #777777;
}

td.other_month a:hover, td.other_month a:active { 
	color: #aaaaaa;
}

p.error {
          color: red;
          font-weight: bold;
}

/*
 * Region map
 */

#region-map
{
  text-align: center;
  border: 0;
/*
 * Alternative solution
 * margin-left: 8em;
 */
}

dl.region-map-event
{
  border: 1px #364970 solid;
  background: #dfedff;
/*  position: absolute; */
  position: fixed;
  text-align: left;
  padding: 3px;
  width: 15em;
  z-index: 2;
  margin: 0.5em 0 0 0;
  overflow: hidden;
  list-style: none;
  visibility: hidden;
}

dl.region-map-event dt
{
  font-size: 13px;
  border: none;
  padding: 0;
  margin: 0;
  margin-bottom: 0.2em;
}

dl.region-map-event dd
{
  border: none;
  padding: 0;
  margin: 0;
  font-weight: normal;
  margin-bottom: 0.3em;
  font-size: 12px;
}

PNG image




Archives gérées par MHonArc 2.6.16.

Haut de le page