Commit 83c0567a authored by Edith Cannet's avatar Edith Cannet
Browse files

premier dépôt du addon TEI epidoc IGLS

parents
Loading
Loading
Loading
Loading

css/biblio.css

0 → 100755
+232 −0
Original line number Diff line number Diff line
@import url(labels.css);
@import url(commands.css);

*{
    display: block;
}

TEI[xml|id]:before{
    content: " " attr(xml|id);
    color: red;
}

TEI[xml|id = '']:before{
    content: command-button(
icon, url('../xxe/toolbar_icons/plus.png'), 
command, "idFiche", 
text, "identifiant"
);
    color: red;
}


teiHeader{
    display: block;
    collapsible: yes;
    collapsed: no;
    background-color: #efefef;
    border-bottom: 1px solid black;
    width: 95%;
}

titleStmt,
editionStmt,
publicationStmt,
sourceDesc,
langUsage{
    display: block;
    margin-top: 6px;
}

sourceDesc > *{
    margin-left: 25px;
}

title,
persName,
name,
forename,
surname,
date,
idno{
    display: inline-block;
}

forename:after{
    content: " ";
}

rs,
persName[type],
name,
dim,
hi
support,
hi,
origDate,
placeName{
    display: inline;
}

encodingDesc{
    font-style: italic;
}

support > p > objectType,
support > p > material,
support > p > height{
    display: inline;
}

collection:before{
    content: "collection : ";
    font-weight: bold;
}


dimensions:before{
    content: "dimensions : ";
    font-weight: bold;
}

dimensions,
height,
width,
depth{
    display: inline;
}

height:after,
width:after{
    content: " x ";
    font-weight: bold;
}

handNote,
foreign{
    display: inline;
}

keywords:before{
    content: "mots-clés : ";
    font-weight: bold;
}

keywords,
term{
    display: inline;
}
/*
term:after {
  content:" - ";
}
*/
text{
    display: block;
    border-bottom: 1px solid black;
}

div{
    margin-top: 15px;
}

graphic{
    margin-left: 0;
    margin-right: auto;
    margin-top: 20px;
    border: 1px solid black;
    content: image-viewport(attribute, url, data-type, anyURI, viewport-width, 450, content-width, scale-to-fit, smooth, yes);
}

l{
    display: block;
}

/*l:before {
  content:attr(n)" ";
  font-weight: bold;
}*/

l > persName,
l > persName > name,
l > persName > supplied{
    display: inline;
}
/*
gap {
  display:inline;
  content:"[•]";
  font-weight: bold;
  font-size: 0.7em;
} */

orig,
supplied,
w,
unclear,
l > name,
l > name > supplied{
    display: inline;
}

/*note {
  background-color:#efefef;
}*/

link{
    display: inline;
    content: attr(target);
    font-weight: bold;
}

listBibl > bibl:before{
    content: "" attr(xml|id);
    font-size: 110%;
}

listBibl > bibl{
    display: block;
    margin-top: 1.5em;
}

citedRange{
    display: inline-block;
}

citedRange:before{
    content: "pages : ";
    font-weight: bold;
}

ref{
    color: #4BB5C1;
    display: inline;
}

ptr{
    content: "" attr(target);
}

ptr:before{
    content: "identifiant : ";
    font-weight: bold;
}

head{
    color: red;
    background-color: yellow;
}

/*l:before {
  content:attr(n)" - ";
  color:red;
} */


/*** apparat ***/
w,
expan,
abbr,
ex{
    display: inline;
}

css/commands.css

0 → 100755
+29 −0
Original line number Diff line number Diff line
titleStmt:after,
sourceDesc:after{
    display: block;
    margin-top: 8px;
    margin-bottom: 12px;
    background-color: #AEA8FF;
}

titleStmt:after{
    content: command-button(
icon, url('../xxe/toolbar_icons/about.png'), 
command, "auteurFiche", 
text, "1. auteur   "
);
}

sourceDesc:after{
    content: command-button(
icon, url('../xxe/toolbar_icons/about.png'), 
command, "repositorySource", 
text, "1. dépôt   "
), 
command-button(
icon, url('../xxe/toolbar_icons/about.png'), 
command, "idnoSource", 
text, "2. idno   "
)
    ;
}
 No newline at end of file
+46 −0
Original line number Diff line number Diff line
/*
Surcharge CSS pour lister les éléments.

Copyright (c) 2009-2017
   Pôle Document Numérique
   Maison de la Recherche en Sciences Humaines
   Université de Caen Basse-Normandie
   Esplanade de la Paix
   Campus 1
   14032 Caen Cedex
*/
* {
  display:block;
}

anchor {
  content:""attr(xml|id)"";
}

bibl {}

bibl > anchor {display:none;}

hi[rend='italic'] {font-style:italic;}

index:before {
  content:"["attr(indexName)"]  ";
}

lb {content:"\A";}

ref:before {
  content:attr(type)" | "attr(target)" : ";
}

graphic {
	content:attr(url);
}

item {
  display:block;
}

item:before {
  content:"    – ";
}

css/epidoc.css

0 → 100755
+1181 −0

File added.

Preview size limit exceeded, changes collapsed.

+1174 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading