Pagina 1 din 1

prosilver all css files in one

Scris: 15-Iul-2009, 01:40:31
de mindfreak
Bună seară,
M-am apucat de o nouă interfaţă bazătă pe prosilver.
Ce mă interesează pentru început este cum să adun toate datele din fişierele css să le pun doar într-unul, adică să folosesc doar stylesheet.css
Mulţumesc.

Re: prosilver all css files in one

Scris: 15-Iul-2009, 12:10:18
de GrafsS
copiezi din toate css-urile tot si pe pui in stylesheet.css si gata, deoarece stylesheet.css ti-l rulea in overall_header.html , sper sa ma intelegi

daca vrei sa arate si mai frumos (ca organizare) cauti fiecare linie cs css din fiecare fisier care il gasesti in STYLE/template si il stergi :)

Re: prosilver all css files in one

Scris: 15-Iul-2009, 12:59:13
de mindfreak
Da dar uite de exemplu cours.css si common.css

Cod: Selectaţi tot

/* General proSilver Markup Styles
---------------------------------------- */

* {
	/* Reset browsers default margin, padding and font sizes */
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
	/* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */
	height: 100%;
	margin-bottom: 1px;
}

body {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
	font-family: Verdana, Helvetica, Arial, sans-serif;
	color: #828282;
	background-color: #FFFFFF;
	/*font-size: 62.5%;			 This sets the default font size to be equivalent to 10px */
	font-size: 10px;
	margin: 0;
	padding: 12px 0;
}

h1 {
	/* Forum name */
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	margin-right: 200px;
	color: #FFFFFF;
	margin-top: 15px;
	font-weight: bold;
	font-size: 2em;
}

h2 {
	/* Forum header titles */
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #3f3f3f;
	font-size: 2em;
	margin: 0.8em 0 0.2em 0;
}

h2.solo {
	margin-bottom: 1em;
}

h3 {
	/* Sub-headers (also used as post headers, but defined later) */
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	border-bottom: 1px solid #CCCCCC;
	margin-bottom: 3px;
	padding-bottom: 2px;
	font-size: 1.05em;
	color: #989898;
	margin-top: 20px;
}

h4 {
	/* Forum and topic list titles */
	font-family: "Trebuchet MS", Verdana, Helvetica, Arial, Sans-serif;
	font-size: 1.3em;
}
şi

Cod: Selectaţi tot

/*  	
--------------------------------------------------------------
Colours and backgrounds for common.css
-------------------------------------------------------------- */

html, body {
	color: #536482;
	background-color: #FFFFFF;
}

h1 {
	color: #FFFFFF;
}

h2 {
	color: #28313F;
}

h3 {
	border-bottom-color: #CCCCCC;
	color: #115098;
}
sunt multe coduri care se repetă şi n-as vrea să modific în zeci de locuri când încep.
Mă gândeam poate există o temă prosilver gată făcută.

Re: prosilver all css files in one

Scris: 15-Iul-2009, 13:42:27
de Muzet
Nu cred ca exista. Modifici fiecare clasa (care se repeta) si modifici si in fisierul .html.