﻿/*
	| Parchment.css - Adapted from Francky Kelyneman's liquidcorners-extended.css
	| ===========================================================================
	| use: 4 corners with painted border outside a contentbox with class="inside"; 
	|      image1 = upper half: top left corner, long top border, top right corner
	|               under half: bottom left corner, long bottom border, bottom right corner
	|      image2 = left half: left border; right side: right border
	|               because repeat-y: image2 can be reduced in height!
	|      CHANGE = you have to change this for fitting to your image
	|      YCC    = You Can Change (or omit), if wanted
	|      DNC    = Do Not Change
	| credits: original by francky kleyneman, see article/tutorial in Francky's Developers Corner:
	|          http://home.tiscali.nl/developerscorner/liquidcorners/liquidcorners.htm
	| adapted
	| by.....: Will Fastie for f20d.com
	|
	| + please let this text & links intact for a next user +
*/

.par-bottom-right { 
	background-image: url('parchment_corners.gif') ; /* CHANGE: path and name of your image1 */
	height: 9px;       /* CHANGE: replace by the height of one of your corners (= 1/2 height of the image) */
	font-size: 2px;    /* DNC: correction IE for height of the <div>'s */
	}

.par-bottom-left { 
	background-image: url('parchment_corners.gif') ; /* CHANGE: path and name of your image1 */
	height: 9px;       /* CHANGE: replace by the height of one of your corners (= 1/2 height of the image) */
	font-size: 2px;    /* DNC: correction IE for height of the <div>'s */
	}

.par-top-right { 
	background-image: url('parchment_corners.gif') ; /* CHANGE: path and name of your image1 */
	height: 9px;       /* CHANGE: replace by the height of one of your corners (= 1/2 height of the image) */
	font-size: 2px;    /* DNC: correction IE for height of the <div>'s */
	}

.par-top-left { 
	background-image: url('parchment_corners.gif') ; /* CHANGE: path and name of your image1 */
	height: 9px;       /* CHANGE: replace by the height of one of your corners (= 1/2 height of the image) */
	font-size: 2px;    /* DNC: correction IE for height of the <div>'s */
	}
.par-bottom-left { 
	margin-right: 9px; /* CHANGE: replace by the width of one of your corners */
	}
.par-top-left { 
	margin-right: 9px; /* CHANGE: replace by the width of one of your corners */
	}
.par-bottom-right { 
	margin-left: 9px;  /* CHANGE: replace by the width of one of your corners */
	margin-top: -9px;  /* CHANGE: replace by the height of one of your corners */
	}
.par-top-right { 
	margin-left: 9px;  /* CHANGE: replace by the width of one of your corners */
	margin-top: -9px;  /* CHANGE: replace by the height of one of your corners */
	}
.par-top-right {
	background-position: 100% 0;    /* DNC: position right corner at right side, no vertical changes */
	}
.par-bottom-left  { 
	background-position: 0 -9px;    /* CHANGE: replace second number by negative height of one of your corners */
	}
.par-bottom-right { 
	background-position: 100% -9px; /* CHANGE: replace second number by negative height of one of your corners */
	}
.par-inside { 
	/* background: #000 url('parchment_bg.gif') fixed 0 15px; */  /* CHANGE: your background */
	/* The above statement was affecting the color of links in the body. WF eliminated mention of color */
	background-image: url('parchment_bg.gif');
	background-attachment: fixed;
	background-position: 0 15px;
	margin-left: 9px;               /* CHANGE: replace by the width of one of your corners */
	margin-right: 9px;              /* CHANGE: replace by the width of one of your corners */
	padding: 15px 20px 5px 20px;
}
.par-notopgap    { padding:0; margin: 0; height: 1px; }    /* DNC: to avoid splitting of the box */
.par-nobottomgap { padding:0; margin: 0; height: 1px; } /* DNC: to avoid splitting of the box */
.par-inside-right {
	background-image: url('parchment_edges.gif'); /* CHANGE: path and name of your image2 */
	background-repeat: repeat-y;   /* DNC: to pile the image2 as much as needed */
	}
.par-inside-left {
	background-image: url('parchment_edges.gif'); /* CHANGE: path and name of your image2 */
	background-repeat: repeat-y;   /* DNC: to pile the image2 as much as needed */
	}
.par-inside-right { background-position: 100% 0; } /* DNC: position right corner */

/*
implementation in the page:
	...
	<head>
	<link rel="stylesheet" type="text/css" href="/layout/parchment.css">
	...
	</head>
	<body>
	...
	...
	<div class="par-top-left"></div><div class="par-top-right"></div>
	<div class="par-inside-left"><div class="par-inside-right"><div class="par-inside">
		<p class="par-notopgap">Your text & other things inside</p>
		...
		<p class="par-nobottomgap">...</p>
	</div></div></div>
	<div class="par-bottom-left"></div><div class="par-bottom-right"></div>
	...
	...
	</body>
*/







