3 $diabook_font_size=false;
5 $site_line_height = get_config("diabook-aerith","line_height");
6 $site_diabook_font_size = get_config("diabook-aerith", "font_size" );
7 $site_resolution = get_config("diabook-aerith", "resolution" );
11 $line_height = get_pconfig(local_user(), "diabook-aerith","line_height");
12 $diabook_font_size = get_pconfig(local_user(), "diabook-aerith", "font_size");
13 $resolution = get_pconfig(local_user(), "diabook-aerith", "resolution");
16 if ($line_height===false) $line_height=$site_line_height;
17 if ($line_height===false) $line_height="1.3";
18 if ($diabook_font_size===false) $diabook_font_size=$site_diabook_font_size;
19 if ($diabook_font_size===false) $diabook_font_size="13";
20 if ($resolution===false) $resolution=$site_resolution;
21 if ($resolution===false) $resolution="normal";
24 if($resolution == "normal") {
25 if (file_exists("$THEMEPATH/style.css")){
26 echo file_get_contents("$THEMEPATH/style.css");
29 if($diabook_font_size == "15"){
31 .wall-item-container .wall-item-content {
35 .wall-item-photo-container .wall-item-content {
40 if($diabook_font_size == "14"){
42 .wall-item-container .wall-item-content {
46 .wall-item-photo-container .wall-item-content {
51 if($diabook_font_size == "13.5"){
53 .wall-item-container .wall-item-content {
57 .wall-item-photo-container .wall-item-content {
62 if($diabook_font_size == "13"){
64 .wall-item-container .wall-item-content {
68 .wall-item-photo-container .wall-item-content {
73 if($diabook_font_size == "12.5"){
75 .wall-item-container .wall-item-content {
79 .wall-item-photo-container .wall-item-content {
84 if($diabook_font_size == "12"){
86 .wall-item-container .wall-item-content {
90 .wall-item-photo-container .wall-item-content {
95 if($line_height == "1.5"){
97 .wall-item-container .wall-item-content {
101 .wall-item-photo-container .wall-item-content {
106 if($line_height == "1.4"){
108 .wall-item-container .wall-item-content {
112 .wall-item-photo-container .wall-item-content {
117 if($line_height == "1.3"){
119 .wall-item-container .wall-item-content {
123 .wall-item-photo-container .wall-item-content {
128 if($line_height == "1.2"){
130 .wall-item-container .wall-item-content {
134 .wall-item-photo-container .wall-item-content {
139 if($line_height == "1.1"){
141 .wall-item-container .wall-item-content {
145 .wall-item-photo-container .wall-item-content {
152 if($resolution == "wide") {
153 if (file_exists("$THEMEPATH/style-wide.css")){
154 echo file_get_contents("$THEMEPATH/style-wide.css");
156 if($diabook_font_size == "15"){
158 .wall-item-container .wall-item-content {
162 .wall-item-photo-container .wall-item-content {
167 if($diabook_font_size == "14"){
169 .wall-item-container .wall-item-content {
173 .wall-item-photo-container .wall-item-content {
178 if($diabook_font_size == "13.5"){
180 .wall-item-container .wall-item-content {
184 .wall-item-photo-container .wall-item-content {
189 if($diabook_font_size == "13"){
191 .wall-item-container .wall-item-content {
195 .wall-item-photo-container .wall-item-content {
200 if($diabook_font_size == "12.5"){
202 .wall-item-container .wall-item-content {
206 .wall-item-photo-container .wall-item-content {
211 if($diabook_font_size == "12"){
213 .wall-item-container .wall-item-content {
217 .wall-item-photo-container .wall-item-content {
222 if($line_height == "1.5"){
224 .wall-item-container .wall-item-content {
228 .wall-item-photo-container .wall-item-content {
233 if($line_height == "1.4"){
235 .wall-item-container .wall-item-content {
239 .wall-item-photo-container .wall-item-content {
244 if($line_height == "1.3"){
246 .wall-item-container .wall-item-content {
250 .wall-item-photo-container .wall-item-content {
255 if($line_height == "1.2"){
257 .wall-item-container .wall-item-content {
261 .wall-item-photo-container .wall-item-content {
266 if($line_height == "1.1"){
268 .wall-item-container .wall-item-content {
272 .wall-item-photo-container .wall-item-content {