Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1973 lines
40 KiB

9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  1. <?php
  2. $line_height=false;
  3. $diabook_font_size=false;
  4. $resolution=false;
  5. $color=false;
  6. $site_line_height = get_config("diabook","line_height");
  7. $site_diabook_font_size = get_config("diabook", "font_size" );
  8. $site_resolution = get_config("diabook", "resolution" );
  9. $site_color = get_config("diabook", "color" );
  10. if (local_user()) {
  11. $line_height = get_pconfig(local_user(), "diabook","line_height");
  12. $diabook_font_size = get_pconfig(local_user(), "diabook", "font_size");
  13. $resolution = get_pconfig(local_user(), "diabook", "resolution");
  14. $color = get_pconfig(local_user(), "diabook", "color");
  15. }
  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";
  22. if ($color===false) $color=$site_color;
  23. if ($color===false) $color="diabook";
  24. if($color == "diabook") {
  25. if($resolution == "normal") {
  26. if (file_exists("$THEMEPATH/style.css")){
  27. echo file_get_contents("$THEMEPATH/style.css");
  28. }
  29. if($diabook_font_size == "16"){
  30. echo "
  31. .wall-item-container .wall-item-content {
  32. font-size: 16px;
  33. }
  34. .wall-item-photo-container .wall-item-content {
  35. font-size: 16px;
  36. }
  37. ";
  38. }
  39. if($diabook_font_size == "15"){
  40. echo "
  41. .wall-item-container .wall-item-content {
  42. font-size: 15px;
  43. }
  44. .wall-item-photo-container .wall-item-content {
  45. font-size: 15px;
  46. }
  47. ";
  48. }
  49. if($diabook_font_size == "14"){
  50. echo "
  51. .wall-item-container .wall-item-content {
  52. font-size: 14px;
  53. }
  54. .wall-item-photo-container .wall-item-content {
  55. font-size: 14px;
  56. }
  57. ";
  58. }
  59. if($diabook_font_size == "13.5"){
  60. echo "
  61. .wall-item-container .wall-item-content {
  62. font-size: 13.5px;
  63. }
  64. .wall-item-photo-container .wall-item-content {
  65. font-size: 13.5px;
  66. }
  67. ";
  68. }
  69. if($diabook_font_size == "13"){
  70. echo "
  71. .wall-item-container .wall-item-content {
  72. font-size: 13px;
  73. }
  74. .wall-item-photo-container .wall-item-content {
  75. font-size: 13px;
  76. }
  77. ";
  78. }
  79. if($diabook_font_size == "12.5"){
  80. echo "
  81. .wall-item-container .wall-item-content {
  82. font-size: 12.5px;
  83. }
  84. .wall-item-photo-container .wall-item-content {
  85. font-size: 12.5px;
  86. }
  87. ";
  88. }
  89. if($diabook_font_size == "12"){
  90. echo "
  91. .wall-item-container .wall-item-content {
  92. font-size: 12px;
  93. }
  94. .wall-item-photo-container .wall-item-content {
  95. font-size: 12px;
  96. }
  97. ";
  98. }
  99. if($line_height == "1.5"){
  100. echo "
  101. .wall-item-container .wall-item-content {
  102. line-height: 1.5;
  103. }
  104. .wall-item-photo-container .wall-item-content {
  105. line-height: 1.5;
  106. }
  107. ";
  108. }
  109. if($line_height == "1.4"){
  110. echo "
  111. .wall-item-container .wall-item-content {
  112. line-height: 1.4;
  113. }
  114. .wall-item-photo-container .wall-item-content {
  115. line-height: 1.4;
  116. }
  117. ";
  118. }
  119. if($line_height == "1.3"){
  120. echo "
  121. .wall-item-container .wall-item-content {
  122. line-height: 1.3;
  123. }
  124. .wall-item-photo-container .wall-item-content {
  125. line-height: 1.3;
  126. }
  127. ";
  128. }
  129. if($line_height == "1.2"){
  130. echo "
  131. .wall-item-container .wall-item-content {
  132. line-height: 1.2;
  133. }
  134. .wall-item-photo-container .wall-item-content {
  135. line-height: 1.2;
  136. }
  137. ";
  138. }
  139. if($line_height == "1.1"){
  140. echo "
  141. .wall-item-container .wall-item-content {
  142. line-height: 1.1;
  143. }
  144. .wall-item-photo-container .wall-item-content {
  145. line-height: 1.1;
  146. }
  147. ";
  148. }
  149. }
  150. if($resolution == "wide") {
  151. if (file_exists("$THEMEPATH/style-wide.css")){
  152. echo file_get_contents("$THEMEPATH/style-wide.css");
  153. }
  154. if($diabook_font_size == "16"){
  155. echo "
  156. .wall-item-container .wall-item-content {
  157. font-size: 16px;
  158. }
  159. .wall-item-photo-container .wall-item-content {
  160. font-size: 16px;
  161. }
  162. ";
  163. }
  164. if($diabook_font_size == "15"){
  165. echo "
  166. .wall-item-container .wall-item-content {
  167. font-size: 15px;
  168. }
  169. .wall-item-photo-container .wall-item-content {
  170. font-size: 15px;
  171. }
  172. ";
  173. }
  174. if($diabook_font_size == "14"){
  175. echo "
  176. .wall-item-container .wall-item-content {
  177. font-size: 14px;
  178. }
  179. .wall-item-photo-container .wall-item-content {
  180. font-size: 14px;
  181. }
  182. ";
  183. }
  184. if($diabook_font_size == "13.5"){
  185. echo "
  186. .wall-item-container .wall-item-content {
  187. font-size: 13.5px;
  188. }
  189. .wall-item-photo-container .wall-item-content {
  190. font-size: 13.5px;
  191. }
  192. ";
  193. }
  194. if($diabook_font_size == "13"){
  195. echo "
  196. .wall-item-container .wall-item-content {
  197. font-size: 13px;
  198. }
  199. .wall-item-photo-container .wall-item-content {
  200. font-size: 13px;
  201. }
  202. ";
  203. }
  204. if($diabook_font_size == "12.5"){
  205. echo "
  206. .wall-item-container .wall-item-content {
  207. font-size: 12.5px;
  208. }
  209. .wall-item-photo-container .wall-item-content {
  210. font-size: 12.5px;
  211. }
  212. ";
  213. }
  214. if($diabook_font_size == "12"){
  215. echo "
  216. .wall-item-container .wall-item-content {
  217. font-size: 12px;
  218. }
  219. .wall-item-photo-container .wall-item-content {
  220. font-size: 12px;
  221. }
  222. ";
  223. }
  224. if($line_height == "1.5"){
  225. echo "
  226. .wall-item-container .wall-item-content {
  227. line-height: 1.5;
  228. }
  229. .wall-item-photo-container .wall-item-content {
  230. line-height: 1.5;
  231. }
  232. ";
  233. }
  234. if($line_height == "1.4"){
  235. echo "
  236. .wall-item-container .wall-item-content {
  237. line-height: 1.4;
  238. }
  239. .wall-item-photo-container .wall-item-content {
  240. line-height: 1.4;
  241. }
  242. ";
  243. }
  244. if($line_height == "1.3"){
  245. echo "
  246. .wall-item-container .wall-item-content {
  247. line-height: 1.3;
  248. }
  249. .wall-item-photo-container .wall-item-content {
  250. line-height: 1.3;
  251. }
  252. ";
  253. }
  254. if($line_height == "1.2"){
  255. echo "
  256. .wall-item-container .wall-item-content {
  257. line-height: 1.2;
  258. }
  259. .wall-item-photo-container .wall-item-content {
  260. line-height: 1.2;
  261. }
  262. ";
  263. }
  264. if($line_height == "1.1"){
  265. echo "
  266. .wall-item-container .wall-item-content {
  267. line-height: 1.1;
  268. }
  269. .wall-item-photo-container .wall-item-content {
  270. line-height: 1.1;
  271. }
  272. ";
  273. }
  274. }
  275. }
  276. if($color == "aerith") {
  277. if($resolution == "normal") {
  278. if (file_exists("$THEMEPATH/diabook-aerith/style.css")){
  279. echo file_get_contents("$THEMEPATH/diabook-aerith/style.css");
  280. }
  281. if($diabook_font_size == "16"){
  282. echo "
  283. .wall-item-container .wall-item-content {
  284. font-size: 16px;
  285. }
  286. .wall-item-photo-container .wall-item-content {
  287. font-size: 16px;
  288. }
  289. ";
  290. }
  291. if($diabook_font_size == "15"){
  292. echo "
  293. .wall-item-container .wall-item-content {
  294. font-size: 15px;
  295. }
  296. .wall-item-photo-container .wall-item-content {
  297. font-size: 15px;
  298. }
  299. ";
  300. }
  301. if($diabook_font_size == "14"){
  302. echo "
  303. .wall-item-container .wall-item-content {
  304. font-size: 14px;
  305. }
  306. .wall-item-photo-container .wall-item-content {
  307. font-size: 14px;
  308. }
  309. ";
  310. }
  311. if($diabook_font_size == "13.5"){
  312. echo "
  313. .wall-item-container .wall-item-content {
  314. font-size: 13.5px;
  315. }
  316. .wall-item-photo-container .wall-item-content {
  317. font-size: 13.5px;
  318. }
  319. ";
  320. }
  321. if($diabook_font_size == "13"){
  322. echo "
  323. .wall-item-container .wall-item-content {
  324. font-size: 13px;
  325. }
  326. .wall-item-photo-container .wall-item-content {
  327. font-size: 13px;
  328. }
  329. ";
  330. }
  331. if($diabook_font_size == "12.5"){
  332. echo "
  333. .wall-item-container .wall-item-content {
  334. font-size: 12.5px;
  335. }
  336. .wall-item-photo-container .wall-item-content {
  337. font-size: 12.5px;
  338. }
  339. ";
  340. }
  341. if($diabook_font_size == "12"){
  342. echo "
  343. .wall-item-container .wall-item-content {
  344. font-size: 12px;
  345. }
  346. .wall-item-photo-container .wall-item-content {
  347. font-size: 12px;
  348. }
  349. ";
  350. }
  351. if($line_height == "1.5"){
  352. echo "
  353. .wall-item-container .wall-item-content {
  354. line-height: 1.5;
  355. }
  356. .wall-item-photo-container .wall-item-content {
  357. line-height: 1.5;
  358. }
  359. ";
  360. }
  361. if($line_height == "1.4"){
  362. echo "
  363. .wall-item-container .wall-item-content {
  364. line-height: 1.4;
  365. }
  366. .wall-item-photo-container .wall-item-content {
  367. line-height: 1.4;
  368. }
  369. ";
  370. }
  371. if($line_height == "1.3"){
  372. echo "
  373. .wall-item-container .wall-item-content {
  374. line-height: 1.3;
  375. }
  376. .wall-item-photo-container .wall-item-content {
  377. line-height: 1.3;
  378. }
  379. ";
  380. }
  381. if($line_height == "1.2"){
  382. echo "
  383. .wall-item-container .wall-item-content {
  384. line-height: 1.2;
  385. }
  386. .wall-item-photo-container .wall-item-content {
  387. line-height: 1.2;
  388. }
  389. ";
  390. }
  391. if($line_height == "1.1"){
  392. echo "
  393. .wall-item-container .wall-item-content {
  394. line-height: 1.1;
  395. }
  396. .wall-item-photo-container .wall-item-content {
  397. line-height: 1.1;
  398. }
  399. ";
  400. }
  401. }
  402. if($resolution == "wide") {
  403. if (file_exists("$THEMEPATH/diabook-aerith/style-wide.css")){
  404. echo file_get_contents("$THEMEPATH/diabook-aerith/style-wide.css");
  405. }
  406. if($diabook_font_size == "16"){
  407. echo "
  408. .wall-item-container .wall-item-content {
  409. font-size: 16px;
  410. }
  411. .wall-item-photo-container .wall-item-content {
  412. font-size: 16px;
  413. }
  414. ";
  415. }
  416. if($diabook_font_size == "15"){
  417. echo "
  418. .wall-item-container .wall-item-content {
  419. font-size: 15px;
  420. }
  421. .wall-item-photo-container .wall-item-content {
  422. font-size: 15px;
  423. }
  424. ";
  425. }
  426. if($diabook_font_size == "14"){
  427. echo "
  428. .wall-item-container .wall-item-content {
  429. font-size: 14px;
  430. }
  431. .wall-item-photo-container .wall-item-content {
  432. font-size: 14px;
  433. }
  434. ";
  435. }
  436. if($diabook_font_size == "13.5"){
  437. echo "
  438. .wall-item-container .wall-item-content {
  439. font-size: 13.5px;
  440. }
  441. .wall-item-photo-container .wall-item-content {
  442. font-size: 13.5px;
  443. }
  444. ";
  445. }
  446. if($diabook_font_size == "13"){
  447. echo "
  448. .wall-item-container .wall-item-content {
  449. font-size: 13px;
  450. }
  451. .wall-item-photo-container .wall-item-content {
  452. font-size: 13px;
  453. }
  454. ";
  455. }
  456. if($diabook_font_size == "12.5"){
  457. echo "
  458. .wall-item-container .wall-item-content {
  459. font-size: 12.5px;
  460. }
  461. .wall-item-photo-container .wall-item-content {
  462. font-size: 12.5px;
  463. }
  464. ";
  465. }
  466. if($diabook_font_size == "12"){
  467. echo "
  468. .wall-item-container .wall-item-content {
  469. font-size: 12px;
  470. }
  471. .wall-item-photo-container .wall-item-content {
  472. font-size: 12px;
  473. }
  474. ";
  475. }
  476. if($line_height == "1.5"){
  477. echo "
  478. .wall-item-container .wall-item-content {
  479. line-height: 1.5;
  480. }
  481. .wall-item-photo-container .wall-item-content {
  482. line-height: 1.5;
  483. }
  484. ";
  485. }
  486. if($line_height == "1.4"){
  487. echo "
  488. .wall-item-container .wall-item-content {
  489. line-height: 1.4;
  490. }
  491. .wall-item-photo-container .wall-item-content {
  492. line-height: 1.4;
  493. }
  494. ";
  495. }
  496. if($line_height == "1.3"){
  497. echo "
  498. .wall-item-container .wall-item-content {
  499. line-height: 1.3;
  500. }
  501. .wall-item-photo-container .wall-item-content {
  502. line-height: 1.3;
  503. }
  504. ";
  505. }
  506. if($line_height == "1.2"){
  507. echo "
  508. .wall-item-container .wall-item-content {
  509. line-height: 1.2;
  510. }
  511. .wall-item-photo-container .wall-item-content {
  512. line-height: 1.2;
  513. }
  514. ";
  515. }
  516. if($line_height == "1.1"){
  517. echo "
  518. .wall-item-container .wall-item-content {
  519. line-height: 1.1;
  520. }
  521. .wall-item-photo-container .wall-item-content {
  522. line-height: 1.1;
  523. }
  524. ";
  525. }
  526. }
  527. }
  528. if($color== "blue") {
  529. if($resolution == "normal") {
  530. if (file_exists("$THEMEPATH/diabook-blue/style.css")){
  531. echo file_get_contents("$THEMEPATH/diabook-blue/style.css");
  532. }
  533. if($diabook_font_size == "16"){
  534. echo "
  535. .wall-item-container .wall-item-content {
  536. font-size: 16px;
  537. }
  538. .wall-item-photo-container .wall-item-content {
  539. font-size: 16px;
  540. }
  541. ";
  542. }
  543. if($diabook_font_size == "15"){
  544. echo "
  545. .wall-item-container .wall-item-content {
  546. font-size: 15px;
  547. }
  548. .wall-item-photo-container .wall-item-content {
  549. font-size: 15px;
  550. }
  551. ";
  552. }
  553. if($diabook_font_size == "14"){
  554. echo "
  555. .wall-item-container .wall-item-content {
  556. font-size: 14px;
  557. }
  558. .wall-item-photo-container .wall-item-content {
  559. font-size: 14px;
  560. }
  561. ";
  562. }
  563. if($diabook_font_size == "13.5"){
  564. echo "
  565. .wall-item-container .wall-item-content {
  566. font-size: 13.5px;
  567. }
  568. .wall-item-photo-container .wall-item-content {
  569. font-size: 13.5px;
  570. }
  571. ";
  572. }
  573. if($diabook_font_size == "13"){
  574. echo "
  575. .wall-item-container .wall-item-content {
  576. font-size: 13px;
  577. }
  578. .wall-item-photo-container .wall-item-content {
  579. font-size: 13px;
  580. }
  581. ";
  582. }
  583. if($diabook_font_size == "12.5"){
  584. echo "
  585. .wall-item-container .wall-item-content {
  586. font-size: 12.5px;
  587. }
  588. .wall-item-photo-container .wall-item-content {
  589. font-size: 12.5px;
  590. }
  591. ";
  592. }
  593. if($diabook_font_size == "12"){
  594. echo "
  595. .wall-item-container .wall-item-content {
  596. font-size: 12px;
  597. }
  598. .wall-item-photo-container .wall-item-content {
  599. font-size: 12px;
  600. }
  601. ";
  602. }
  603. if($line_height == "1.5"){
  604. echo "
  605. .wall-item-container .wall-item-content {
  606. line-height: 1.5;
  607. }
  608. .wall-item-photo-container .wall-item-content {
  609. line-height: 1.5;
  610. }
  611. ";
  612. }
  613. if($line_height == "1.4"){
  614. echo "
  615. .wall-item-container .wall-item-content {
  616. line-height: 1.4;
  617. }
  618. .wall-item-photo-container .wall-item-content {
  619. line-height: 1.4;
  620. }
  621. ";
  622. }
  623. if($line_height == "1.3"){
  624. echo "
  625. .wall-item-container .wall-item-content {
  626. line-height: 1.3;
  627. }
  628. .wall-item-photo-container .wall-item-content {
  629. line-height: 1.3;
  630. }
  631. ";
  632. }
  633. if($line_height == "1.2"){
  634. echo "
  635. .wall-item-container .wall-item-content {
  636. line-height: 1.2;
  637. }
  638. .wall-item-photo-container .wall-item-content {
  639. line-height: 1.2;
  640. }
  641. ";
  642. }
  643. if($line_height == "1.1"){
  644. echo "
  645. .wall-item-container .wall-item-content {
  646. line-height: 1.1;
  647. }
  648. .wall-item-photo-container .wall-item-content {
  649. line-height: 1.1;
  650. }
  651. ";
  652. }
  653. }
  654. if($resolution == "wide") {
  655. if (file_exists("$THEMEPATH/diabook-blue/style-wide.css")){
  656. echo file_get_contents("$THEMEPATH/diabook-blue/style-wide.css");
  657. }
  658. if($diabook_font_size == "16"){
  659. echo "
  660. .wall-item-container .wall-item-content {
  661. font-size: 16px;
  662. }
  663. .wall-item-photo-container .wall-item-content {
  664. font-size: 16px;
  665. }
  666. ";
  667. }
  668. if($diabook_font_size == "15"){
  669. echo "
  670. .wall-item-container .wall-item-content {
  671. font-size: 15px;
  672. }
  673. .wall-item-photo-container .wall-item-content {
  674. font-size: 15px;
  675. }
  676. ";
  677. }
  678. if($diabook_font_size == "14"){
  679. echo "
  680. .wall-item-container .wall-item-content {
  681. font-size: 14px;
  682. }
  683. .wall-item-photo-container .wall-item-content {
  684. font-size: 14px;
  685. }
  686. ";
  687. }
  688. if($diabook_font_size == "13.5"){
  689. echo "
  690. .wall-item-container .wall-item-content {
  691. font-size: 13.5px;
  692. }
  693. .wall-item-photo-container .wall-item-content {
  694. font-size: 13.5px;
  695. }
  696. ";
  697. }
  698. if($diabook_font_size == "13"){
  699. echo "
  700. .wall-item-container .wall-item-content {
  701. font-size: 13px;
  702. }
  703. .wall-item-photo-container .wall-item-content {
  704. font-size: 13px;
  705. }
  706. ";
  707. }
  708. if($diabook_font_size == "12.5"){
  709. echo "
  710. .wall-item-container .wall-item-content {
  711. font-size: 12.5px;
  712. }
  713. .wall-item-photo-container .wall-item-content {
  714. font-size: 12.5px;
  715. }
  716. ";
  717. }
  718. if($diabook_font_size == "12"){
  719. echo "
  720. .wall-item-container .wall-item-content {
  721. font-size: 12px;
  722. }
  723. .wall-item-photo-container .wall-item-content {
  724. font-size: 12px;
  725. }
  726. ";
  727. }
  728. if($line_height == "1.5"){
  729. echo "
  730. .wall-item-container .wall-item-content {
  731. line-height: 1.5;
  732. }
  733. .wall-item-photo-container .wall-item-content {
  734. line-height: 1.5;
  735. }
  736. ";
  737. }
  738. if($line_height == "1.4"){
  739. echo "
  740. .wall-item-container .wall-item-content {
  741. line-height: 1.4;
  742. }
  743. .wall-item-photo-container .wall-item-content {
  744. line-height: 1.4;
  745. }
  746. ";
  747. }
  748. if($line_height == "1.3"){
  749. echo "
  750. .wall-item-container .wall-item-content {
  751. line-height: 1.3;
  752. }
  753. .wall-item-photo-container .wall-item-content {
  754. line-height: 1.3;
  755. }
  756. ";
  757. }
  758. if($line_height == "1.2"){
  759. echo "
  760. .wall-item-container .wall-item-content {
  761. line-height: 1.2;
  762. }
  763. .wall-item-photo-container .wall-item-content {
  764. line-height: 1.2;
  765. }
  766. ";
  767. }
  768. if($line_height == "1.1"){
  769. echo "
  770. .wall-item-container .wall-item-content {
  771. line-height: 1.1;
  772. }
  773. .wall-item-photo-container .wall-item-content {
  774. line-height: 1.1;
  775. }
  776. ";
  777. }
  778. }
  779. }
  780. if($color== "red") {
  781. if($resolution == "normal") {
  782. if (file_exists("$THEMEPATH/diabook-red/style.css")){
  783. echo file_get_contents("$THEMEPATH/diabook-red/style.css");
  784. }
  785. if($diabook_font_size == "16"){
  786. echo "
  787. .wall-item-container .wall-item-content {
  788. font-size: 16px;
  789. }
  790. .wall-item-photo-container .wall-item-content {
  791. font-size: 16px;
  792. }
  793. ";
  794. }
  795. if($diabook_font_size == "15"){
  796. echo "
  797. .wall-item-container .wall-item-content {
  798. font-size: 15px;
  799. }
  800. .wall-item-photo-container .wall-item-content {
  801. font-size: 15px;
  802. }
  803. ";
  804. }
  805. if($diabook_font_size == "14"){
  806. echo "
  807. .wall-item-container .wall-item-content {
  808. font-size: 14px;
  809. }
  810. .wall-item-photo-container .wall-item-content {
  811. font-size: 14px;
  812. }
  813. ";
  814. }
  815. if($diabook_font_size == "13.5"){
  816. echo "
  817. .wall-item-container .wall-item-content {
  818. font-size: 13.5px;
  819. }
  820. .wall-item-photo-container .wall-item-content {
  821. font-size: 13.5px;
  822. }
  823. ";
  824. }
  825. if($diabook_font_size == "13"){
  826. echo "
  827. .wall-item-container .wall-item-content {
  828. font-size: 13px;
  829. }
  830. .wall-item-photo-container .wall-item-content {
  831. font-size: 13px;
  832. }
  833. ";
  834. }
  835. if($diabook_font_size == "12.5"){
  836. echo "
  837. .wall-item-container .wall-item-content {
  838. font-size: 12.5px;
  839. }
  840. .wall-item-photo-container .wall-item-content {
  841. font-size: 12.5px;
  842. }
  843. ";
  844. }
  845. if($diabook_font_size == "12"){
  846. echo "
  847. .wall-item-container .wall-item-content {
  848. font-size: 12px;
  849. }
  850. .wall-item-photo-container .wall-item-content {
  851. font-size: 12px;
  852. }
  853. ";
  854. }
  855. if($line_height == "1.5"){
  856. echo "
  857. .wall-item-container .wall-item-content {
  858. line-height: 1.5;
  859. }
  860. .wall-item-photo-container .wall-item-content {
  861. line-height: 1.5;
  862. }
  863. ";
  864. }
  865. if($line_height == "1.4"){
  866. echo "
  867. .wall-item-container .wall-item-content {
  868. line-height: 1.4;
  869. }
  870. .wall-item-photo-container .wall-item-content {
  871. line-height: 1.4;
  872. }
  873. ";
  874. }
  875. if($line_height == "1.3"){
  876. echo "
  877. .wall-item-container .wall-item-content {
  878. line-height: 1.3;
  879. }
  880. .wall-item-photo-container .wall-item-content {
  881. line-height: 1.3;
  882. }
  883. ";
  884. }
  885. if($line_height == "1.2"){
  886. echo "
  887. .wall-item-container .wall-item-content {
  888. line-height: 1.2;
  889. }
  890. .wall-item-photo-container .wall-item-content {
  891. line-height: 1.2;
  892. }
  893. ";
  894. }
  895. if($line_height == "1.1"){
  896. echo "
  897. .wall-item-container .wall-item-content {
  898. line-height: 1.1;
  899. }
  900. .wall-item-photo-container .wall-item-content {
  901. line-height: 1.1;
  902. }
  903. ";
  904. }
  905. }
  906. if($resolution == "wide") {
  907. if (file_exists("$THEMEPATH/diabook-red/style-wide.css")){
  908. echo file_get_contents("$THEMEPATH/diabook-red/style-wide.css");
  909. }
  910. if($diabook_font_size == "16"){
  911. echo "
  912. .wall-item-container .wall-item-content {
  913. font-size: 16px;
  914. }
  915. .wall-item-photo-container .wall-item-content {
  916. font-size: 16px;
  917. }
  918. ";
  919. }
  920. if($diabook_font_size == "15"){
  921. echo "
  922. .wall-item-container .wall-item-content {
  923. font-size: 15px;
  924. }
  925. .wall-item-photo-container .wall-item-content {
  926. font-size: 15px;
  927. }
  928. ";
  929. }
  930. if($diabook_font_size == "14"){
  931. echo "
  932. .wall-item-container .wall-item-content {
  933. font-size: 14px;
  934. }
  935. .wall-item-photo-container .wall-item-content {
  936. font-size: 14px;
  937. }
  938. ";
  939. }
  940. if($diabook_font_size == "13.5"){
  941. echo "
  942. .wall-item-container .wall-item-content {
  943. font-size: 13.5px;
  944. }
  945. .wall-item-photo-container .wall-item-content {
  946. font-size: 13.5px;
  947. }
  948. ";
  949. }
  950. if($diabook_font_size == "13"){
  951. echo "
  952. .wall-item-container .wall-item-content {
  953. font-size: 13px;
  954. }
  955. .wall-item-photo-container .wall-item-content {
  956. font-size: 13px;
  957. }
  958. ";
  959. }
  960. if($diabook_font_size == "12.5"){
  961. echo "
  962. .wall-item-container .wall-item-content {
  963. font-size: 12.5px;
  964. }
  965. .wall-item-photo-container .wall-item-content {
  966. font-size: 12.5px;
  967. }
  968. ";
  969. }
  970. if($diabook_font_size == "12"){
  971. echo "
  972. .wall-item-container .wall-item-content {
  973. font-size: 12px;
  974. }
  975. .wall-item-photo-container .wall-item-content {
  976. font-size: 12px;
  977. }
  978. ";
  979. }
  980. if($line_height == "1.5"){
  981. echo "
  982. .wall-item-container .wall-item-content {
  983. line-height: 1.5;
  984. }
  985. .wall-item-photo-container .wall-item-content {
  986. line-height: 1.5;
  987. }
  988. ";
  989. }
  990. if($line_height == "1.4"){
  991. echo "
  992. .wall-item-container .wall-item-content {
  993. line-height: 1.4;
  994. }
  995. .wall-item-photo-container .wall-item-content {
  996. line-height: 1.4;
  997. }
  998. ";
  999. }
  1000. if($line_height == "1.3"){
  1001. echo "
  1002. .wall-item-container .wall-item-content {
  1003. line-height: 1.3;
  1004. }
  1005. .wall-item-photo-container .wall-item-content {
  1006. line-height: 1.3;
  1007. }
  1008. ";
  1009. }
  1010. if($line_height == "1.2"){
  1011. echo "
  1012. .wall-item-container .wall-item-content {
  1013. line-height: 1.2;
  1014. }
  1015. .wall-item-photo-container .wall-item-content {
  1016. line-height: 1.2;
  1017. }
  1018. ";
  1019. }
  1020. if($line_height == "1.1"){
  1021. echo "
  1022. .wall-item-container .wall-item-content {
  1023. line-height: 1.1;
  1024. }
  1025. .wall-item-photo-container .wall-item-content {
  1026. line-height: 1.1;
  1027. }
  1028. ";
  1029. }
  1030. }
  1031. }
  1032. if($color== "pink") {
  1033. if($resolution == "normal") {
  1034. if (file_exists("$THEMEPATH/diabook-pink/style.css")){
  1035. echo file_get_contents("$THEMEPATH/diabook-pink/style.css");
  1036. }
  1037. if($diabook_font_size == "16"){
  1038. echo "
  1039. .wall-item-container .wall-item-content {
  1040. font-size: 16px;
  1041. }
  1042. .wall-item-photo-container .wall-item-content {
  1043. font-size: 16px;
  1044. }
  1045. ";
  1046. }
  1047. if($diabook_font_size == "15"){
  1048. echo "
  1049. .wall-item-container .wall-item-content {
  1050. font-size: 15px;
  1051. }
  1052. .wall-item-photo-container .wall-item-content {
  1053. font-size: 15px;
  1054. }
  1055. ";
  1056. }
  1057. if($diabook_font_size == "14"){
  1058. echo "
  1059. .wall-item-container .wall-item-content {
  1060. font-size: 14px;
  1061. }
  1062. .wall-item-photo-container .wall-item-content {
  1063. font-size: 14px;
  1064. }
  1065. ";
  1066. }
  1067. if($diabook_font_size == "13.5"){
  1068. echo "
  1069. .wall-item-container .wall-item-content {
  1070. font-size: 13.5px;
  1071. }
  1072. .wall-item-photo-container .wall-item-content {
  1073. font-size: 13.5px;
  1074. }
  1075. ";
  1076. }
  1077. if($diabook_font_size == "13"){
  1078. echo "
  1079. .wall-item-container .wall-item-content {
  1080. font-size: 13px;
  1081. }
  1082. .wall-item-photo-container .wall-item-content {
  1083. font-size: 13px;
  1084. }
  1085. ";
  1086. }
  1087. if($diabook_font_size == "12.5"){
  1088. echo "
  1089. .wall-item-container .wall-item-content {
  1090. font-size: 12.5px;
  1091. }
  1092. .wall-item-photo-container .wall-item-content {
  1093. font-size: 12.5px;
  1094. }
  1095. ";
  1096. }
  1097. if($diabook_font_size == "12"){
  1098. echo "
  1099. .wall-item-container .wall-item-content {
  1100. font-size: 12px;
  1101. }
  1102. .wall-item-photo-container .wall-item-content {
  1103. font-size: 12px;
  1104. }
  1105. ";
  1106. }
  1107. if($line_height == "1.5"){
  1108. echo "
  1109. .wall-item-container .wall-item-content {
  1110. line-height: 1.5;
  1111. }
  1112. .wall-item-photo-container .wall-item-content {
  1113. line-height: 1.5;
  1114. }
  1115. ";
  1116. }
  1117. if($line_height == "1.4"){
  1118. echo "
  1119. .wall-item-container .wall-item-content {
  1120. line-height: 1.4;
  1121. }
  1122. .wall-item-photo-container .wall-item-content {
  1123. line-height: 1.4;
  1124. }
  1125. ";
  1126. }
  1127. if($line_height == "1.3"){
  1128. echo "
  1129. .wall-item-container .wall-item-content {
  1130. line-height: 1.3;
  1131. }
  1132. .wall-item-photo-container .wall-item-content {
  1133. line-height: 1.3;
  1134. }
  1135. ";
  1136. }
  1137. if($line_height == "1.2"){
  1138. echo "
  1139. .wall-item-container .wall-item-content {
  1140. line-height: 1.2;
  1141. }
  1142. .wall-item-photo-container .wall-item-content {
  1143. line-height: 1.2;
  1144. }
  1145. ";
  1146. }
  1147. if($line_height == "1.1"){
  1148. echo "
  1149. .wall-item-container .wall-item-content {
  1150. line-height: 1.1;
  1151. }
  1152. .wall-item-photo-container .wall-item-content {
  1153. line-height: 1.1;
  1154. }
  1155. ";
  1156. }
  1157. }
  1158. if($resolution == "wide") {
  1159. if (file_exists("$THEMEPATH/diabook-pink/style-wide.css")){
  1160. echo file_get_contents("$THEMEPATH/diabook-pink/style-wide.css");
  1161. }
  1162. if($diabook_font_size == "16"){
  1163. echo "
  1164. .wall-item-container .wall-item-content {
  1165. font-size: 16px;
  1166. }
  1167. .wall-item-photo-container .wall-item-content {
  1168. font-size: 16px;
  1169. }
  1170. ";
  1171. }
  1172. if($diabook_font_size == "15"){
  1173. echo "
  1174. .wall-item-container .wall-item-content {
  1175. font-size: 15px;
  1176. }
  1177. .wall-item-photo-container .wall-item-content {
  1178. font-size: 15px;
  1179. }
  1180. ";
  1181. }
  1182. if($diabook_font_size == "14"){
  1183. echo "
  1184. .wall-item-container .wall-item-content {
  1185. font-size: 14px;
  1186. }
  1187. .wall-item-photo-container .wall-item-content {
  1188. font-size: 14px;
  1189. }
  1190. ";
  1191. }
  1192. if($diabook_font_size == "13.5"){
  1193. echo "
  1194. .wall-item-container .wall-item-content {
  1195. font-size: 13.5px;
  1196. }
  1197. .wall-item-photo-container .wall-item-content {
  1198. font-size: 13.5px;
  1199. }
  1200. ";
  1201. }
  1202. if($diabook_font_size == "13"){
  1203. echo "
  1204. .wall-item-container .wall-item-content {
  1205. font-size: 13px;
  1206. }
  1207. .wall-item-photo-container .wall-item-content {
  1208. font-size: 13px;
  1209. }
  1210. ";
  1211. }
  1212. if($diabook_font_size == "12.5"){
  1213. echo "
  1214. .wall-item-container .wall-item-content {
  1215. font-size: 12.5px;
  1216. }
  1217. .wall-item-photo-container .wall-item-content {
  1218. font-size: 12.5px;
  1219. }
  1220. ";
  1221. }
  1222. if($diabook_font_size == "12"){
  1223. echo "
  1224. .wall-item-container .wall-item-content {
  1225. font-size: 12px;
  1226. }
  1227. .wall-item-photo-container .wall-item-content {
  1228. font-size: 12px;
  1229. }
  1230. ";
  1231. }
  1232. if($line_height == "1.5"){
  1233. echo "
  1234. .wall-item-container .wall-item-content {
  1235. line-height: 1.5;
  1236. }
  1237. .wall-item-photo-container .wall-item-content {
  1238. line-height: 1.5;
  1239. }
  1240. ";
  1241. }
  1242. if($line_height == "1.4"){
  1243. echo "
  1244. .wall-item-container .wall-item-content {
  1245. line-height: 1.4;
  1246. }
  1247. .wall-item-photo-container .wall-item-content {
  1248. line-height: 1.4;
  1249. }
  1250. ";
  1251. }
  1252. if($line_height == "1.3"){
  1253. echo "
  1254. .wall-item-container .wall-item-content {
  1255. line-height: 1.3;
  1256. }
  1257. .wall-item-photo-container .wall-item-content {
  1258. line-height: 1.3;
  1259. }
  1260. ";
  1261. }
  1262. if($line_height == "1.2"){
  1263. echo "
  1264. .wall-item-container .wall-item-content {
  1265. line-height: 1.2;
  1266. }
  1267. .wall-item-photo-container .wall-item-content {
  1268. line-height: 1.2;
  1269. }
  1270. ";
  1271. }
  1272. if($line_height == "1.1"){
  1273. echo "
  1274. .wall-item-container .wall-item-content {
  1275. line-height: 1.1;
  1276. }
  1277. .wall-item-photo-container .wall-item-content {
  1278. line-height: 1.1;
  1279. }
  1280. ";
  1281. }
  1282. }
  1283. }
  1284. if($color== "green") {
  1285. if($resolution == "normal") {
  1286. if (file_exists("$THEMEPATH/diabook-green/style.css")){
  1287. echo file_get_contents("$THEMEPATH/diabook-green/style.css");
  1288. }
  1289. if($diabook_font_size == "16"){
  1290. echo "
  1291. .wall-item-container .wall-item-content {
  1292. font-size: 16px;
  1293. }
  1294. .wall-item-photo-container .wall-item-content {
  1295. font-size: 16px;
  1296. }
  1297. ";
  1298. }
  1299. if($diabook_font_size == "15"){
  1300. echo "
  1301. .wall-item-container .wall-item-content {
  1302. font-size: 15px;
  1303. }
  1304. .wall-item-photo-container .wall-item-content {
  1305. font-size: 15px;
  1306. }
  1307. ";
  1308. }
  1309. if($diabook_font_size == "14"){
  1310. echo "
  1311. .wall-item-container .wall-item-content {
  1312. font-size: 14px;
  1313. }
  1314. .wall-item-photo-container .wall-item-content {
  1315. font-size: 14px;
  1316. }
  1317. ";
  1318. }
  1319. if($diabook_font_size == "13.5"){
  1320. echo "
  1321. .wall-item-container .wall-item-content {
  1322. font-size: 13.5px;
  1323. }
  1324. .wall-item-photo-container .wall-item-content {
  1325. font-size: 13.5px;
  1326. }
  1327. ";
  1328. }
  1329. if($diabook_font_size == "13"){
  1330. echo "
  1331. .wall-item-container .wall-item-content {
  1332. font-size: 13px;
  1333. }
  1334. .wall-item-photo-container .wall-item-content {
  1335. font-size: 13px;
  1336. }
  1337. ";
  1338. }
  1339. if($diabook_font_size == "12.5"){
  1340. echo "
  1341. .wall-item-container .wall-item-content {
  1342. font-size: 12.5px;
  1343. }
  1344. .wall-item-photo-container .wall-item-content {
  1345. font-size: 12.5px;
  1346. }
  1347. ";
  1348. }
  1349. if($diabook_font_size == "12"){
  1350. echo "
  1351. .wall-item-container .wall-item-content {
  1352. font-size: 12px;
  1353. }
  1354. .wall-item-photo-container .wall-item-content {
  1355. font-size: 12px;
  1356. }
  1357. ";
  1358. }
  1359. if($line_height == "1.5"){
  1360. echo "
  1361. .wall-item-container .wall-item-content {
  1362. line-height: 1.5;
  1363. }
  1364. .wall-item-photo-container .wall-item-content {
  1365. line-height: 1.5;
  1366. }
  1367. ";
  1368. }
  1369. if($line_height == "1.4"){
  1370. echo "
  1371. .wall-item-container .wall-item-content {
  1372. line-height: 1.4;
  1373. }
  1374. .wall-item-photo-container .wall-item-content {
  1375. line-height: 1.4;
  1376. }
  1377. ";
  1378. }
  1379. if($line_height == "1.3"){
  1380. echo "
  1381. .wall-item-container .wall-item-content {
  1382. line-height: 1.3;
  1383. }
  1384. .wall-item-photo-container .wall-item-content {
  1385. line-height: 1.3;
  1386. }
  1387. ";
  1388. }
  1389. if($line_height == "1.2"){
  1390. echo "
  1391. .wall-item-container .wall-item-content {
  1392. line-height: 1.2;
  1393. }
  1394. .wall-item-photo-container .wall-item-content {
  1395. line-height: 1.2;
  1396. }
  1397. ";
  1398. }
  1399. if($line_height == "1.1"){
  1400. echo "
  1401. .wall-item-container .wall-item-content {
  1402. line-height: 1.1;
  1403. }
  1404. .wall-item-photo-container .wall-item-content {
  1405. line-height: 1.1;
  1406. }
  1407. ";
  1408. }
  1409. }
  1410. if($resolution == "wide") {
  1411. if (file_exists("$THEMEPATH/diabook-green/style-wide.css")){
  1412. echo file_get_contents("$THEMEPATH/diabook-green/style-wide.css");
  1413. }
  1414. if($diabook_font_size == "16"){
  1415. echo "
  1416. .wall-item-container .wall-item-content {
  1417. font-size: 16px;
  1418. }
  1419. .wall-item-photo-container .wall-item-content {
  1420. font-size: 16px;
  1421. }
  1422. ";
  1423. }
  1424. if($diabook_font_size == "15"){
  1425. echo "
  1426. .wall-item-container .wall-item-content {
  1427. font-size: 15px;
  1428. }
  1429. .wall-item-photo-container .wall-item-content {
  1430. font-size: 15px;
  1431. }
  1432. ";
  1433. }
  1434. if($diabook_font_size == "14"){
  1435. echo "
  1436. .wall-item-container .wall-item-content {
  1437. font-size: 14px;
  1438. }
  1439. .wall-item-photo-container .wall-item-content {
  1440. font-size: 14px;
  1441. }
  1442. ";
  1443. }
  1444. if($diabook_font_size == "13.5"){
  1445. echo "
  1446. .wall-item-container .wall-item-content {
  1447. font-size: 13.5px;
  1448. }
  1449. .wall-item-photo-container .wall-item-content {
  1450. font-size: 13.5px;
  1451. }
  1452. ";
  1453. }
  1454. if($diabook_font_size == "13"){
  1455. echo "
  1456. .wall-item-container .wall-item-content {
  1457. font-size: 13px;
  1458. }
  1459. .wall-item-photo-container .wall-item-content {
  1460. font-size: 13px;
  1461. }
  1462. ";
  1463. }
  1464. if($diabook_font_size == "12.5"){
  1465. echo "
  1466. .wall-item-container .wall-item-content {
  1467. font-size: 12.5px;
  1468. }
  1469. .wall-item-photo-container .wall-item-content {
  1470. font-size: 12.5px;
  1471. }
  1472. ";
  1473. }
  1474. if($diabook_font_size == "12"){
  1475. echo "
  1476. .wall-item-container .wall-item-content {
  1477. font-size: 12px;
  1478. }
  1479. .wall-item-photo-container .wall-item-content {
  1480. font-size: 12px;
  1481. }
  1482. ";
  1483. }
  1484. if($line_height == "1.5"){
  1485. echo "
  1486. .wall-item-container .wall-item-content {
  1487. line-height: 1.5;
  1488. }
  1489. .wall-item-photo-container .wall-item-content {
  1490. line-height: 1.5;
  1491. }
  1492. ";
  1493. }
  1494. if($line_height == "1.4"){
  1495. echo "
  1496. .wall-item-container .wall-item-content {
  1497. line-height: 1.4;
  1498. }
  1499. .wall-item-photo-container .wall-item-content {
  1500. line-height: 1.4;
  1501. }
  1502. ";
  1503. }
  1504. if($line_height == "1.3"){
  1505. echo "
  1506. .wall-item-container .wall-item-content {
  1507. line-height: 1.3;
  1508. }
  1509. .wall-item-photo-container .wall-item-content {
  1510. line-height: 1.3;
  1511. }
  1512. ";
  1513. }
  1514. if($line_height == "1.2"){
  1515. echo "
  1516. .wall-item-container .wall-item-content {
  1517. line-height: 1.2;
  1518. }
  1519. .wall-item-photo-container .wall-item-content {
  1520. line-height: 1.2;
  1521. }
  1522. ";
  1523. }
  1524. if($line_height == "1.1"){
  1525. echo "
  1526. .wall-item-container .wall-item-content {
  1527. line-height: 1.1;
  1528. }
  1529. .wall-item-photo-container .wall-item-content {
  1530. line-height: 1.1;
  1531. }
  1532. ";
  1533. }
  1534. }
  1535. }
  1536. if($color== "dark") {
  1537. if($resolution == "normal") {
  1538. if (file_exists("$THEMEPATH/diabook-dark/style.css")){
  1539. echo file_get_contents("$THEMEPATH/diabook-dark/style.css");
  1540. }
  1541. if($diabook_font_size == "16"){
  1542. echo "
  1543. .wall-item-container .wall-item-content {
  1544. font-size: 16px;
  1545. }
  1546. .wall-item-photo-container .wall-item-content {
  1547. font-size: 16px;
  1548. }
  1549. ";
  1550. }
  1551. if($diabook_font_size == "15"){
  1552. echo "
  1553. .wall-item-container .wall-item-content {
  1554. font-size: 15px;
  1555. }
  1556. .wall-item-photo-container .wall-item-content {
  1557. font-size: 15px;
  1558. }
  1559. ";
  1560. }
  1561. if($diabook_font_size == "14"){
  1562. echo "
  1563. .wall-item-container .wall-item-content {
  1564. font-size: 14px;
  1565. }
  1566. .wall-item-photo-container .wall-item-content {
  1567. font-size: 14px;
  1568. }
  1569. ";
  1570. }
  1571. if($diabook_font_size == "13.5"){
  1572. echo "
  1573. .wall-item-container .wall-item-content {
  1574. font-size: 13.5px;
  1575. }
  1576. .wall-item-photo-container .wall-item-content {
  1577. font-size: 13.5px;
  1578. }
  1579. ";
  1580. }
  1581. if($diabook_font_size == "13"){
  1582. echo "
  1583. .wall-item-container .wall-item-content {
  1584. font-size: 13px;
  1585. }
  1586. .wall-item-photo-container .wall-item-content {
  1587. font-size: 13px;
  1588. }
  1589. ";
  1590. }
  1591. if($diabook_font_size == "12.5"){
  1592. echo "
  1593. .wall-item-container .wall-item-content {
  1594. font-size: 12.5px;
  1595. }
  1596. .wall-item-photo-container .wall-item-content {
  1597. font-size: 12.5px;
  1598. }
  1599. ";
  1600. }
  1601. if($diabook_font_size == "12"){
  1602. echo "
  1603. .wall-item-container .wall-item-content {
  1604. font-size: 12px;
  1605. }
  1606. .wall-item-photo-container .wall-item-content {
  1607. font-size: 12px;
  1608. }
  1609. ";
  1610. }
  1611. if($line_height == "1.5"){
  1612. echo "
  1613. .wall-item-container .wall-item-content {
  1614. line-height: 1.5;
  1615. }
  1616. .wall-item-photo-container .wall-item-content {
  1617. line-height: 1.5;
  1618. }
  1619. ";
  1620. }
  1621. if($line_height == "1.4"){
  1622. echo "
  1623. .wall-item-container .wall-item-content {
  1624. line-height: 1.4;
  1625. }
  1626. .wall-item-photo-container .wall-item-content {
  1627. line-height: 1.4;
  1628. }
  1629. ";
  1630. }
  1631. if($line_height == "1.3"){
  1632. echo "
  1633. .wall-item-container .wall-item-content {
  1634. line-height: 1.3;
  1635. }
  1636. .wall-item-photo-container .wall-item-content {
  1637. line-height: 1.3;
  1638. }
  1639. ";
  1640. }
  1641. if($line_height == "1.2"){
  1642. echo "
  1643. .wall-item-container .wall-item-content {
  1644. line-height: 1.2;
  1645. }
  1646. .wall-item-photo-container .wall-item-content {
  1647. line-height: 1.2;
  1648. }
  1649. ";
  1650. }
  1651. if($line_height == "1.1"){
  1652. echo "
  1653. .wall-item-container .wall-item-content {
  1654. line-height: 1.1;
  1655. }
  1656. .wall-item-photo-container .wall-item-content {
  1657. line-height: 1.1;
  1658. }
  1659. ";
  1660. }
  1661. }
  1662. if($resolution == "wide") {
  1663. if (file_exists("$THEMEPATH/diabook-dark/style-wide.css")){
  1664. echo file_get_contents("$THEMEPATH/diabook-dark/style-wide.css");
  1665. }
  1666. if($diabook_font_size == "16"){
  1667. echo "
  1668. .wall-item-container .wall-item-content {
  1669. font-size: 16px;
  1670. }
  1671. .wall-item-photo-container .wall-item-content {
  1672. font-size: 16px;
  1673. }
  1674. ";
  1675. }
  1676. if($diabook_font_size == "15"){
  1677. echo "
  1678. .wall-item-container .wall-item-content {
  1679. font-size: 15px;
  1680. }
  1681. .wall-item-photo-container .wall-item-content {
  1682. font-size: 15px;
  1683. }
  1684. ";
  1685. }
  1686. if($diabook_font_size == "14"){
  1687. echo "
  1688. .wall-item-container .wall-item-content {
  1689. font-size: 14px;
  1690. }
  1691. .wall-item-photo-container .wall-item-content {
  1692. font-size: 14px;
  1693. }
  1694. ";
  1695. }
  1696. if($diabook_font_size == "13.5"){
  1697. echo "
  1698. .wall-item-container .wall-item-content {
  1699. font-size: 13.5px;
  1700. }
  1701. .wall-item-photo-container .wall-item-content {
  1702. font-size: 13.5px;
  1703. }
  1704. ";
  1705. }
  1706. if($diabook_font_size == "13"){
  1707. echo "
  1708. .wall-item-container .wall-item-content {
  1709. font-size: 13px;
  1710. }
  1711. .wall-item-photo-container .wall-item-content {
  1712. font-size: 13px;
  1713. }
  1714. ";
  1715. }
  1716. if($diabook_font_size == "12.5"){
  1717. echo "
  1718. .wall-item-container .wall-item-content {
  1719. font-size: 12.5px;
  1720. }
  1721. .wall-item-photo-container .wall-item-content {
  1722. font-size: 12.5px;
  1723. }
  1724. ";
  1725. }
  1726. if($diabook_font_size == "12"){
  1727. echo "
  1728. .wall-item-container .wall-item-content {
  1729. font-size: 12px;
  1730. }
  1731. .wall-item-photo-container .wall-item-content {
  1732. font-size: 12px;
  1733. }
  1734. ";
  1735. }
  1736. if($line_height == "1.5"){
  1737. echo "
  1738. .wall-item-container .wall-item-content {
  1739. line-height: 1.5;
  1740. }
  1741. .wall-item-photo-container .wall-item-content {
  1742. line-height: 1.5;
  1743. }
  1744. ";
  1745. }
  1746. if($line_height == "1.4"){
  1747. echo "
  1748. .wall-item-container .wall-item-content {
  1749. line-height: 1.4;
  1750. }
  1751. .wall-item-photo-container .wall-item-content {
  1752. line-height: 1.4;
  1753. }
  1754. ";
  1755. }
  1756. if($line_height == "1.3"){
  1757. echo "
  1758. .wall-item-container .wall-item-content {
  1759. line-height: 1.3;
  1760. }
  1761. .wall-item-photo-container .wall-item-content {
  1762. line-height: 1.3;
  1763. }
  1764. ";
  1765. }
  1766. if($line_height == "1.2"){
  1767. echo "
  1768. .wall-item-container .wall-item-content {
  1769. line-height: 1.2;
  1770. }
  1771. .wall-item-photo-container .wall-item-content {
  1772. line-height: 1.2;
  1773. }
  1774. ";
  1775. }
  1776. if($line_height == "1.1"){
  1777. echo "
  1778. .wall-item-container .wall-item-content {
  1779. line-height: 1.1;
  1780. }
  1781. .wall-item-photo-container .wall-item-content {
  1782. line-height: 1.1;
  1783. }
  1784. ";
  1785. }
  1786. }
  1787. }