User:Alex brollo/common.css

From Wikisource
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* test: assegnando a table una classe delle seguenti, tutti i td ricevono lo style corrispondente.
Alla table viene assegnato un border-collapse:collapse; alle celle viene assegnato un piccolo padding dx e sin. */
.cellbordert,.cellborderr,.cellborderb,.cellborderl  {border-collapse:collapse;}
.cellbordert td {border-top:1px solid black; padding:0 0.3em 0 0.3em;}
.cellborderr td {border-right:1px solid black; padding:0 0.3em 0 0.3em;}
.cellborderb td {border-bottom:1px solid black;  padding:0 0.3em 0 0.3em;}
.cellborderl td {border-left:1px solid black; padding:0 0.3em 0 0.3em;}

/*.poem {position:relative;}

.quote:target {
	background-color:#DEF;
}*/

/*
background-image:url('http://upload.wikimedia.org/wikipedia/commons/6/61/Dots.png');
     background-repeat:no-repeat;
.dotted {
     background-position:left bottom;
}
.opaque {
     background-color:white; 
}
p.freedImg, div.freedImg2 > p.freedImg2, #mySpan1, #mySpan2  {
	text-indent:0!important;
}
 
a {
   width:inherit;
}
 
img.freedImg, img.newFreedImg {
   width:inherit;
   height:auto;
}


.faux-table {
	display: table;
	border-collapse: collapse;
	border-spacing: 2px 2px;
	empty-cells: show;
}
.faux-caption {
	display: table-caption;
	text-align: center;
}
.faux-colgroup {
	display: table-column-group;
}
.faux-col {
	display: table-column;
}
.faux-thead {
	display: table-header-group;
	vertical-align: middle;
}
.faux-tbody {
	display: table-row-group;
	vertical-align: middle;
}
.faux-tfoot {
	display: table-footer-group;
	vertical-align: middle;
}
.faux-tr {
	display: table-row;
	vertical-align: inherit;
}
.faux-td {
	display: table-cell;
padding-top: 0;
	padding-right: 3px;
	padding-bottom: 0;
	padding-left: 3px;
	vertical-align: inherit;
}
.faux-th {
	display: table-cell;
	font-weight: bolder;
	text-align: center;
	vertical-align: inherit;
}

.s_b {
	border-bottom:1px solid black;
}

.s_r {
	border-right:1px solid black;
}

.s_t {
	border-top:1px solid black;
}

.s_l {
	border-left:1px solid black;
}

.s_T {
	vertical-align:top;
}

.s_M {
	vertical-align:center;
}
.s_B {
	vertical-align:bottom;
}

.s_R {
	text-align:right;
}
.s_C {
	text-align:center;
}
.s_L {
	text-align:left;
}
*/