Un theme simple pour une page simple

master
cedric@yterium.com 12 years ago
commit b339c8f477

10
.gitattributes vendored

@ -0,0 +1,10 @@
* text=auto !eol
/body.html -text
css/img/background.png -text
css/img/rechercher.gif -text
css/img/spip_out.gif -text
css/img/varicelle-sprite.png -text
css/layout.css -text
css/theme.css -text
/plugin.xml -text
/vignette.jpg -text

@ -0,0 +1,17 @@
<body>
<div class="page">
<div class="header" id="header">
<INCLURE{fond=header/#ENV{type-page},env} />
</div>
<div class="container">
<div class="content" id="content">
<INCLURE{fond=content/#ENV{type-page},env} />
</div>
</div>
<div class="footer" id="footer">
<INCLURE{fond=footer/#ENV{type-page},env} />
</div>
</div>
</body>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

@ -0,0 +1,33 @@
/* --------------------------------------------------------------
layout.css
Disposition des blocs principaux
-------------------------------------------------------------- */
/* ------------------------------------------
/* Disposition a l'ecran des blocs principaux
/* ------------------------------------------ */
body { background: url(img/background.png) repeat; margin: 0; padding: 0; text-align: center; }
.page { position: relative; width: 58em; margin: 1em auto; padding:1em 2em; text-align: left; }
.header { width: 100%; margin: 0; border-bottom: 2px solid #46839B; }
.container { clear: both; overflow: hidden; margin-top:/*@margin-bottom*/1.5em/*/@*/; }
.content { float:left; width:100%;min-height: 300px;}
.footer { clear: both; width: 100%; margin: 1em 0 0 0; padding: 0.60em 0; border-top: 2px solid #ddd; text-align: center; font-size: 0.90em; }
.footer a { /*color:#666;*/ } /* ne pas utiliser de selecteur trop precis, et eviter de toucher aux liens */
.footer img { vertical-align: middle; }
/* Gabarit d'impression */
@media print {
.extra1,
.extra1,
.footer { display: none; }
.page,
.content { width: auto; }
}
/* end */

@ -0,0 +1,91 @@
/* Titraille / Intertitres */
h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4,.h5,.h6 { font-family: Georgia, Times, serif; }
h1,.h1 { color: #000; }
h2, h2 a, h2 a:focus, h2 a:hover, h2 a:active { color: #222; }
.h2, .h2 a, .h2 a:focus, .h2 a:hover, .h2 a:active { color: #222; }
/* Citations, code et poesie */
.spip_code {color:#777;}
.spip_cadre {color:#777; background-color: #fff; border: 1px solid #ddd; }
/* Tableaux */
thead th, tbody th { background: #666; color:white; }
table.spip tr.row_even td,table.spip tr.row_even th {background: #eee;}
/* ------------------------------------------
/* Habillage des elements du contenu
/* ------------------------------------------ */
.page {-webkit-box-shadow: 0px 0px 30px #909090;-moz-box-shadow: 0px 0px 30px #909090;box-shadow: 0px 0px 30px #909090; border-width:2px;}
.header { margin: 0; padding : /*@margin-bottom*/1.5em/*/@*/ 0;border-bottom: 2px solid #ddd;position: relative;}
.header .accueil { display: block; width: 67%; }
.header .accueil .spip_logos { vertical-align: bottom; line-height: 1em; margin-bottom: 0;}
.header .accueil #nom_site_spip { vertical-align: bottom; font-size: 2.2em; font-family: Georgia, Times, serif; font-weight: normal; }
.header .formulaire_menu_lang { position: absolute; right: 0; top: 0.90em; display: block; width: 30%; } /*Cf.: spip_formulaires.css*/
.header .formulaire_menu_lang select {width: 100%;}
.hornav {background-color: #ebeeee;}
.hornav .item a:hover {background:#dadddd}
.hornav .on {color:#000;}
.hornav .on a {color:#000;}
#hierarchie { clear: both; margin-bottom: /*@margin-bottom*/1.5em/*/@*/; font-size: 0.846em; }
#hierarchie, #hierarchie a { color: #666; }
.cartouche { margin-bottom: /*@margin-bottom*/1.5em/*/@*/; }
.cartouche .spip_logos { float: right; margin-left: 16px; margin-bottom: 4px; }
.cartouche .info-publi { margin: 0; padding: 0; clear: left; }
.chapo { margin-bottom: /*@margin-bottom*/1.5em/*/@*/; font-weight:bold; color:#666;}
.chapo .spip_cadre {color:#888;}
.ps, .notes { margin-bottom: /*@margin-bottom*/1.5em/*/@*/;}
.notes { clear: both; font-size: 0.846em; }
/* ------------------------------------------
/* Sous-navigation et autres menus
/* ------------------------------------------ */
/* Listes d'articles et extraits introductifs */
.resume .liste-items .item { border-bottom: 0;}
.resume .liste-items .item .h3 { border-bottom:1px solid #888;}
.liste-items .item .info-publi { display:block; float:right; margin-top:0.6em; margin-left:.3em; padding:.3em; background:#ddd;}
.liste-items .item .introduction { font-size: 0.923em;}
.liste.articles .spip_logos { float: right; clear: right; margin: .8em 0 4px 16px; }
.liste .articles .item .introduction { margin-top: 0.30em; line-height: 1.40em; padding: 0.5em 0 1.5em 1em;}
.extra1 .menu {background:#fcfcfc; padding:0 /*@demi-margin-bottom*/0.75em/*/@*/ /*@demi-margin-bottom*/0.75em/*/@*/; border: 1px solid #ddd;}
.extra1 .menu a {/*color:#666;*/} /* ne pas utiliser de selecteur trop precis, et eviter de toucher aux liens */
.extra1 .menu-items {border-bottom:0;}
.extra1 .menu-items .item {list-style:square; margin-left:15px; padding:0; color:#333;}
.formulaire_recherche input.text {width: 170px;}
.oe-intro {padding: 0 10em;}
.formulaire_demo_oembed {background: none;border: 0;}
.formulaire_demo_oembed .editer_url {padding-left: 10em;padding-right: 10em;}
.formulaire_demo_oembed .editer_url .text {padding: 0.25em;}
.formulaire_demo_oembed .editer_url .link {float: left;}
.formulaire_demo_oembed .boutons {padding-left: 10em;padding-right: 10em;margin: 0 -0.75em 1.5em;clear: none;}
.oe-demo-block {margin-bottom: 1.5em;}
.oe-demo-api-call pre {word-wrap:break-word;}
.oe-demo-html {border-top: 1px solid #ddd;border-bottom: 1px solid #ddd;padding: 1.5em 0;}
.oe-demo-block .spip_cadre {max-height: 20em;overflow: auto;overflow-x: hidden;}
.oe-cite {}
.oe-demo-html>table,.oe-demo-html>table>tbody>tr,.oe-demo-html>table>tbody>tr>td {margin:0;padding:0;}
/* Couleurs des liens
---------------------------------------------- */
a { color: #3996BB; text-decoration: none; }
a:focus,a:hover,a:active { color: #46839B; text-decoration: underline; }
a.spip_out, a.spip_glossaire {
color: #46839B;
background:transparent url(img/spip_out.gif) no-repeat scroll right center;
padding-right:12px;
}

@ -0,0 +1,12 @@
<plugin>
<nom>SimplePage</nom>
<version>1.0.0</version>
<etat>stable</etat>
<auteur>Cedric</auteur>
<licence>GPL</licence>
<prefix>theme_simplepage</prefix>
<description>Une page simple, en une seule colonne de contenu</description>
<icon>vignette.jpg</icon>
<utilise id="Zpip" version="[2.0.0-dev;]" />
<categorie>theme</categorie>
</plugin>

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Loading…
Cancel
Save