Files
Piwigo/template/yoga/content.css
T
plegall 42abf4c576 improvement: tags replace keywords. Better data model, less
limitations. Each image can be associated to as many tag as needed. Tags can
contain non ASCII characters. Oriented navigation with tags by association.


git-svn-id: http://piwigo.org/svn/trunk@1119 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-02 22:26:19 +00:00

262 lines
5.1 KiB
CSS

/* $Id$ */
#content {
margin-right: 1em;
margin-bottom: 1em; /* when it's longer than menu bar */
}
BODY#theCommentsPage #content,
BODY#theRegisterPage #content,
BODY#theIdentificationPage #content,
BODY#theProfilePage #content,
BODY#theSearchPage #content,
BODY#theAboutPage #content,
BODY#thePopuphelpPage #content,
BODY#thePasswordPage #content,
BODY#theNotificationPage #content,
BODY#theTagsPage #content,
BODY#theNBMPage #content
{
margin: 1em;
}
#content H3 {
margin-bottom: 1ex;
}
#content H2 { margin-bottom: 3px;} /*<- for IE otherwise calendar select is displaced to middle of page*/
#content H3 {
text-align: center;
}
/* Thumbnails customization */
#content UL.thumbnails SPAN.thumbLegend {
font-size: 80%; /* font size */
height: 3em; /* max legend height (don't set auto to be Geko friendly)*/
overflow: hidden; /* oversized legend is clipped */
}
/* Thumbnail "elastic" layout */
#content UL.thumbnails {
margin: 0;
padding: 0;
list-style: none;
text-align: center; /* to center the whole collection in #content */
}
#content UL.thumbnails LI { display: inline }
#content UL.thumbnails SPAN.wrap1 {
margin: 0 5px 5px 5px;
display: table-cell; display: inline-table; display: inline-block;
vertical-align: top; /* OK with Opera and IE6 not Geko */
text-align: center; /* to center the thumbnail and legend in Geko/Opera */
}
#content UL.thumbnails SPAN.wrap2 {
margin: 0; /* important reset the margins */
display: table-cell; /* block prevents vertical-align here */
vertical-align: middle; /* Ok with Opera and Geko not IE6 */
}
#content UL.thumbnails SPAN.wrap2 A {
display: block;
border-bottom: none;
}
#content UL.thumbnails IMG {
margin-bottom: -4px; /* why ??? something wrong with Geko and Opera ignored by IE6*/
}
/* fix IE with another layout */
* html #content UL.thumbnails SPAN.wrap2 {
display: block;
position: relative;
text-align: left;
}
* html #content UL.thumbnails SPAN.wrap2 A {
overflow: visible;
position: absolute;
top: 50%;
text-align: center;
}
* html #content UL.thumbnails IMG.thumbnail {
position: relative;
top: -50%;
}
#content .navigationBar, #content .additional_info {
margin: 10px 0;
text-align: center;
}
#content .pageNumberSelected {
font-style: italic;
}
#content .additional_info {
font-size: 110%;
}
#content FORM {
text-align: left;
}
/* content defaults */
#content DL, DD { margin: 10px; }
#content DT {
margin-bottom: 5px;
font-style: italic;
font-size: 110%;
}
/* actions */
UL.categoryActions {
margin: 0 2px;
width: auto;
padding: 0;
text-indent: 0;
list-style: none;
text-align: center;
}
#content DIV.titrePage UL.categoryActions {
float: right;
text-align: center;
}
#content DIV.titrePage {
padding: 0 0 3px;
}
#content UL.categoryActions LI {
display: inline;
}
#content UL.categoryActions A IMG, UL.categoryActions A {
border: none;
margin-bottom: -5px;
}
/* User comments */
#content DIV#comments {
padding-left: 5px;
padding-right: 5px;
-moz-box-sizing: padding-box;
}
#content DIV.comment {
margin: 0 0 0.5em 0;
padding: 0;
overflow: hidden; /* these 2 lines ensure the floating child is kept in the DIV */
width: 100%; /* don't ask why. It's a very usefull trick */
}
#content DIV.comment A.illustration {
display: block;
float: left;
margin: 0.5em 0 0 0.5em;
}
#content DIV.comment P.commentHeader {
text-align: right;
margin: 0.5em 0.5em 0 0;
}
#content DIV.comment UL.actions {
text-align: center;
margin: 0.2em;
}
#content DIV.comment BLOCKQUOTE {
margin-top: 1em;
margin-right: 0.5em;
margin-bottom: 150px;
padding: 0.5em;
}
/* should be in admin.css ? CSS properties also used in popuphelp */
SPAN.pwgScreen {
border-bottom: 1px dotted black;
}
SPAN.filename:before {
content: "[";
}
SPAN.filename:after {
content: "]";
}
/* begin chronology/calendar elements*/
#content DIV.calendarViews {
display: block;
float: right;
margin: 2px 0 0;
}
#content DIV.calendarBar { margin: 8px 4px; }
SPAN.calItem, SPAN.calItemEmpty {
font-weight: bold;
margin: 0 1px;
}
SPAN.calItem A { border:0 }
#content DIV.calendarCalBar {
margin: 10px 10px;
text-align: left;
}
SPAN.calCalHead {
font-weight: bold;
font-size: 110%;
margin: 0 2px;
}
SPAN.calCal { margin: 0 2px; }
/* nice looking month calendar*/
TABLE.calMonth {
border: none;
border-collapse: collapse;
margin-bottom: 10px; /*<-IE ignores this */
}
TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank {
text-align:left;
vertical-align: top;
font: bold 18px Arial, Helvetica, sans-serif;
}
TD.calDayHead { font: bold 12px Arial, Helvetica, sans-serif; }
DIV.calImg {
overflow: hidden;
vertical-align: bottom;
z-index: 1;
position: relative; /*<- this required by IE*/
}
.calImg img {
position: relative;
border: 0;
}
.calBackDate {
padding-left: 4px;
padding-top: 0px;
z-index: 2;
position: absolute;
text-align: left;
vertical-align: top;
}
.calForeDate {
padding-left: 5px;
padding-top: 1px;
z-index: 3;
position: absolute;
text-align: left;
vertical-align: top;
}