Advertisement
cyhouse

TH CSS skeleton (characters)

Nov 6th, 2014
8,610
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.46 KB | None | 0 0
  1. /***************************************************************************
  2.  
  3. CSS skeleton for TH character pages
  4.  
  5. Contents:
  6. - General properties
  7. - Global IDs
  8. > .button variants
  9. > .display-user
  10. > .label variants
  11. > .panel
  12. > .th, .thumb
  13. > pagination
  14. > grids
  15. - Containers
  16. > #container
  17. > #main
  18. > #content
  19. > #footer
  20. - Header
  21. - Sidebar
  22. - Profile page [.character-profile]
  23. > .character-stats
  24. > .character-fields
  25. > .character-recent-images
  26. - Gallery [.character-gallery]
  27. - Worlds [.character-worlds]
  28. - Links [.character-links]
  29. - Comments [.comments]
  30.  
  31. ***************************************************************************/
  32.  
  33. /***************************************************************************
  34.  
  35. General properties
  36.  
  37. ***************************************************************************/
  38.  
  39. /*
  40. Both must be overwritten or hover colour will be default blue.
  41. However, if [.display-user a] is set, that will take priority
  42. */
  43. a, a:link, a:visited {}
  44. a:hover {}
  45.  
  46. /*
  47. All timestamps
  48. Attempts thus far to remove the dotted
  49. bottom line have been unsuccessful
  50. */
  51. abbr {}
  52.  
  53. /*
  54. padding is asymmetrical by default. (9 20 0 19)
  55. */
  56. blockquote
  57. {
  58. padding-bottom: 9px;
  59. }
  60.  
  61. /*
  62. Both the basic headers and the .panel headers need
  63. to be modified at the same time since it doesn't
  64. cascade into .panel, so comments? etc. aren't affected
  65. Oddly, things such as links do gain the changes...
  66. */
  67. h1, .panel h1 { padding-left: 0px; } /* .panel h1 has extra left padding? */
  68. h2, .panel h2 {}
  69. h3, .panel h3{}
  70. h4, .panel h4{}
  71. h5, .panel h5{}
  72. h6, .panel h6{}
  73.  
  74. /*
  75. If hr doesn't work, add <p></p> tags
  76. It seems to work fine for content,
  77. but not in the sidebar blurb
  78.  
  79. default values:
  80. margin-top: 20px;
  81. border-top: 1px;
  82. margin-bottom: 19px;
  83. */
  84. hr {}
  85.  
  86. /*
  87. p seems to crop up every now and then, so best to remove any
  88. padding whatsoever...
  89. */
  90. p { padding: 0px; }
  91.  
  92. /***************************************************************************
  93.  
  94. Global IDs
  95.  
  96. ***************************************************************************/
  97.  
  98. /************************************************
  99. .button variants
  100. - [button] by itself cannot be modified
  101. - modal buttons are more specific
  102. ************************************************/
  103. /*
  104. .button affected areas:
  105. - Worlds: "+ Add Character to a World"
  106. - Links: "Request Link"
  107. - Comments: "Post Comment"
  108. */
  109. .button {}
  110. .button:hover {}
  111.  
  112. /*
  113. .button.secondary affected areas:
  114. - Gallery: "Save Gallery"
  115. - Links: "Select Character"
  116. - Comments: "Select Character", "Select Image"
  117. */
  118. .button.secondary {}
  119. .button.secondary:hover {}
  120.  
  121. /************************************************
  122. .display-user
  123. ************************************************/
  124.  
  125. /*
  126. This affects any usernames
  127. On the main character profile page,
  128. it only affects the Designer in the character
  129. stats because "Owner" is a [.display-user-tiny]
  130. rather than just [.display-user].
  131. */
  132. .display-user a {}
  133. .display-user a:hover {}
  134.  
  135. /************************************************
  136. .label variants
  137. :hover (without using a:hover) is enough
  138. for changing the hover text colour.
  139. [a] does not affect label text
  140. ************************************************/
  141.  
  142. /*
  143. I've found that using .label in specific places will affect
  144. all labels in that container, but using the generic [.label]
  145. will affect only certain labels.
  146.  
  147. .label affected areas:
  148. - Profile: tags
  149. - Links: character names
  150. - Comments: "Edit" labels
  151.  
  152. To do hover text colour for character names, use [.label a]
  153. To do hover text colour for edit labels, use [.label] (same for .alert)
  154. Or: if the label itself isn't a link, use [.label a].
  155. */
  156. .label {}
  157. .label a {}
  158.  
  159. .label:hover {}
  160. .label a :hover{}
  161.  
  162. /*
  163. .label.secondary affected areas:
  164. - Gallery: "Edit" label
  165. - Worlds: "Leave" label
  166. - Links: username labels
  167. */
  168. .label.secondary {}
  169. .label.secondary a {}
  170.  
  171. .label.secondary:hover {}
  172. .label.secondary a:hover{}
  173.  
  174. /*
  175. .label.alert affected areas:
  176. - Links: "Delete Link"
  177. - Comments: "Delete" label
  178.  
  179. To do hover text colour, don't use [a]
  180. */
  181. .label.alert {}
  182. .label.alert:hover {}
  183.  
  184. /************************************************
  185. .panel
  186. ************************************************/
  187.  
  188. /*
  189. .panel affected areas:
  190. - Links: character selection bar at the top,
  191. individual link boxes
  192. - Comments: individual comment boxes
  193. */
  194. .panel {}
  195.  
  196. /************************************************
  197. .th, .thumb
  198. ************************************************/
  199.  
  200. /*
  201. .th affected areas:
  202. - Profile: recent images
  203. - Gallery: images
  204. - Worlds: worlds
  205.  
  206. Use this to modify box-shadow and the fat white border,
  207. as well as constrain the image's size
  208. */
  209. .th {}
  210. .th:hover {}
  211.  
  212. /*
  213. .thumb affected areas:
  214. - the entire section enclosing a character/world
  215. - no padding/margins
  216. - Profile: recent images
  217. - Gallery: images
  218. - Worlds: worlds
  219. */
  220. .thumb {}
  221.  
  222. /************************************************
  223. pagination
  224. ************************************************/
  225.  
  226. /*
  227. There doesn't seem to be any pagination on character
  228. pages but just in case...
  229. */
  230.  
  231. /* non-active page numbers */
  232. ul.pagination li a {}
  233. ul.pagination li a:hover {}
  234.  
  235. /* current page number, modify background colour here */
  236. ul.pagination li.current a {}
  237. ul.pagination li.current a:hover {}
  238.  
  239. /* note that these are different */
  240. ul.pagination li {}
  241. ul.pagination li:hover {}
  242. ul.pagination li.current {}
  243. ul.pagination li.current:hover {}
  244.  
  245. /************************************************
  246. grids
  247. ************************************************/
  248.  
  249. /*
  250. ul.large-block-grid-6
  251.  
  252. Used for the main profile, and gallery.
  253. 6 to a row, width of each li is then 16.6%.
  254. With fixed margins ~16.3% seems to work fine.
  255. For some reason, has -10px left and right margins.
  256. (To push it past #content's padding all the way to the edges?)
  257. */
  258. ul.large-block-grid-6
  259. {
  260. margin-left: 0px;
  261. margin-right: 0px;
  262. }
  263.  
  264. /*
  265. ul.small-block-grid-6 li
  266.  
  267. In the galleries, is a better option than .thumb and
  268. has more power than .thumb does.
  269. It's a better option because the padding is consistent.
  270. */
  271. ul.large-block-grid-6 li
  272. {
  273. padding-top: 10px;
  274. }
  275.  
  276. /*
  277. ul.small-block-grid-4
  278.  
  279. Used on the Worlds page only.
  280. */
  281. ul.small-block-grid-4
  282. {
  283. margin-left: 0px;
  284. margin-right: 0px;
  285. }
  286. ul.small-block-grid-4 li {}
  287.  
  288. /***************************************************************************
  289.  
  290. Containers
  291.  
  292. ***************************************************************************/
  293.  
  294. /*
  295. Contains everything on the page.
  296. Shrinking this causes stuff to overflow.
  297. Nice for backgrounds but don't touch the width/height.
  298. */
  299. #container {}
  300.  
  301. /*
  302. Contains everything except the header and footer.
  303. (i.e. it contains #sidebar and #content)
  304. Can squash for a narrower content area.
  305. */
  306. #main {}
  307.  
  308. /*
  309. Contains the main content of the page.
  310. Note that the padding is compounded with the container
  311. that represents the current page's content.
  312.  
  313. Doing things like changing the text colour here will affect
  314. text in created divs, but not text in panels and etc.
  315. It also affects world names on the Worlds page.
  316. Better to do text colour changes in specific places.
  317. */
  318. #content {}
  319.  
  320. /*
  321. Generally not useful for layouts unless something to meet
  322. the lower part of the page is required.
  323. It contains the profiler which I'll also turn off here.
  324. */
  325. #footer { display: none; }
  326. .profiler { display: none; }
  327.  
  328. /***************************************************************************
  329.  
  330. Header
  331.  
  332. ***************************************************************************/
  333.  
  334. /*
  335. I have no idea what to do with this sometimes;
  336. it contains important functions so getting rid of it
  337. isn't a good idea but it's also too thick for layouts sometimes.
  338. */
  339. #header {}
  340.  
  341. /*
  342. All header buttons including the dropdown
  343. If transparent, background colour will show through.
  344. However, dropdown li will also become transparent
  345. and will need to be set with [.dropdown li]
  346. Both [#header a] and [#header li] need to be transparent.
  347. Background colour can then be set on #header.
  348. */
  349. #header a, #header li { /*background-color: transparent;*/ }
  350. #header a:hover {}
  351.  
  352. /* Dropdown links */
  353. #header .dropdown li {}
  354.  
  355. /* Vertical divider; border-right */
  356. #header li.divider { /*border-right: 1px solid #000;*/ }
  357.  
  358. /* top-left homepage link */
  359. #header .title-area {}
  360.  
  361. /* user icon */
  362. #header img {}
  363.  
  364. /*
  365. To change the size of the bar visually
  366. (padding and font sizes not included)
  367. all these need to be changed
  368. Even if #header a is transparent it needs
  369. to be resized otherwise dropdowns will be
  370. impossible to use
  371.  
  372. Issue: I don't know how to deal with the dropdown arrow
  373. */
  374. /*#header, #header a, #header li, #header .title-area
  375. {
  376. height: 30px;
  377. }*/
  378.  
  379. /*
  380. Notif buttons.
  381. Padding: 5 10 5 10
  382. Margin: 5 0 0 0
  383. */
  384. #header .button {}
  385.  
  386. /*
  387. Contains all the header bar stuff.
  388. With some resizing of #header it's possible to
  389. set up a header image while preserving the header bar.
  390. #header's background goes under this.
  391.  
  392. I haven't yet figured out how to adjust the padding
  393. of the dropdown buttons.
  394. */
  395. .top-bar-section {}
  396.  
  397. /*
  398. Only the left side of the header bar items,
  399. excluding the top left homepage link.
  400. Floats left.
  401. */
  402. .top-bar-section .left {}
  403.  
  404. /*
  405. Only the right side of the header bar items.
  406. Floats right.
  407.  
  408. At the moment there's only one item so
  409. #header .user-link does the same thing.
  410. */
  411. .top-bar-section .right {}
  412.  
  413. /***************************************************************************
  414.  
  415. Sidebar
  416.  
  417. ***************************************************************************/
  418.  
  419. /*
  420. The whole sidebar.
  421. All the li are transparent, so changing the
  422. background colour affects everything except
  423. for the box that says "User" (.header).
  424.  
  425. Changing the text colour affects blurb text.
  426. Padding pads all the content.
  427. Default width is 16.6667%.
  428. */
  429. #sidebar {}
  430.  
  431. /*
  432. Changing the colour affects all the link text in the sidebar.
  433. Note that [.side-nav a] doesn't do the same.
  434. Neither does [.side-nav li a].
  435. */
  436. #sidebar a {}
  437. #sidebar a:hover {}
  438.  
  439. /*
  440. Changing the background colour affects only the .header,
  441. user link, blurb, and buttons.
  442. Inserting padding here will also affect the .dividers so
  443. be careful...
  444.  
  445. Changing colour on hover here will affect every li in the
  446. sidebar, including the blurb (which is probably not the
  447. intended effect). So, the hover is put in [a] rather than [li].
  448. */
  449. #sidebar li {}
  450.  
  451. /*
  452. This contains only the part of the sidebar that has any content
  453. (as opposed to #sidebar which stretches the length of the page)
  454.  
  455. It has padding at the top and bottom. #sidebar has no padding.
  456. */
  457. .side-nav {}
  458.  
  459. /*
  460. The username + avatar box.
  461. I recall having weird problems when doing up Jay's CSS,
  462. but at the moment there doesn't seem to be any problem setting
  463. a background image for this.
  464. */
  465. #sidebar .display-user-tiny a {}
  466.  
  467. /*
  468. The blurb.
  469. <hr> seems to require being between <p></p> tags.
  470.  
  471. Note! Links in the blurb will appear like the other
  472. buttons in the sidebar, i.e. they will stretch the
  473. length of the sidebar and have padding. If this is not
  474. what you want, add this (will affect ALL links in the blurb):
  475.  
  476. #sidebar .blurb a {display: inline; padding: 0px;}
  477. */
  478. #sidebar .blurb {}
  479.  
  480. /*
  481. The box that contains the folder that the character is in.
  482. Use [a] to customise the text.
  483. */
  484. #sidebar .header {}
  485. #sidebar .header a {}
  486.  
  487. /*
  488. The character's name and icon.
  489. */
  490.  
  491. #sidebar .display-character a {}
  492.  
  493. /*
  494. The dividers.
  495. 5px of padding on top and below, border is border-top.
  496. */
  497. #sidebar .divider {}
  498.  
  499. /*
  500. It's not possible to touch any of the other buttons individually.
  501. However it's possible to mess with the little icons...
  502. */
  503. #sidebar i {}
  504.  
  505. /*
  506. The currently active page.
  507. Use [.active a] to change the text colour.
  508. */
  509. #sidebar .active {}
  510.  
  511. /***************************************************************************
  512.  
  513. Profile page
  514.  
  515. ***************************************************************************/
  516.  
  517. /*
  518. .character-profile
  519.  
  520. Main editable content of the profile.
  521. Separate from the columns below.
  522. I usually throw in an extra div inside, just in case
  523. I want to make more to abuse later.
  524. There's no padding.
  525. */
  526. .character-profile {}
  527.  
  528. /************************************************
  529. .character-stats
  530. ************************************************/
  531.  
  532. /*
  533. The character stats box.
  534. Forced to float right. It overlaps everything else
  535. on the page.
  536. Resembles a [.panel] but isn't one.
  537.  
  538. I don't really know what to do with it sometimes...
  539. */
  540. .character-profile .character-stats {}
  541.  
  542. /*
  543. Each row in the stats box.
  544. Contains a [.character-stat-title] and
  545. a [.character-stat-value].
  546. */
  547. .character-profile .character-stats .character-stat-row {}
  548.  
  549. /*
  550. Title of a row in the character stats.
  551. */
  552. .character-profile .character-stats .character-stat-title {}
  553.  
  554. /*
  555. Value of a row in the character stats.
  556. */
  557. .character-profile .character-stats .character-stat-value {}
  558.  
  559. /*
  560. Username + picture in the character stats.
  561. Can reach the image alone with [img] if you
  562. want to hide it...
  563. */
  564. .character-profile .character-stats .display-user {}
  565.  
  566. /*
  567. Character stats tags.
  568. */
  569. .character-profile .character-stats .label {}
  570. .character-profile .character-stats .label:hover {}
  571.  
  572. /************************************************
  573. .character-fields
  574. ************************************************/
  575.  
  576. /*
  577. Fields.
  578. Hierarchy:
  579. > .character-fields
  580. > .character-fields-title
  581. > .character-field-row
  582. > .character-field-title
  583. > .character-field-value
  584. */
  585. .character-profile .character-fields {}
  586.  
  587. /*
  588. The title of the character fields.
  589. The dividing line between the title and the fields
  590. is here.
  591. Padding: 5 20 5 20
  592. Border: 0 0 1 0
  593. Margin: 0 0 15 0
  594. */
  595. .character-profile .character-fields .character-fields-title {}
  596.  
  597. /*
  598. Each row of the stats.
  599. */
  600. .character-profile .character-fields .character-field-row {}
  601.  
  602. /*
  603. The title of the field.
  604. Text aligned right, uppercase by default.
  605. */
  606. .character-profile .character-fields .character-field-title {}
  607.  
  608. /*
  609. The value of the field.
  610. Spacing between the title and the value is done here
  611. by way of padding (20px left and right).
  612. */
  613. .character-profile .character-fields .character-field-value {}
  614.  
  615. /************************************************
  616. .character-recent-images
  617. ************************************************/
  618.  
  619. /*
  620. Recent images.
  621. Hierarchy:
  622. > .character-recent-images
  623. > .character-recent-images-title
  624. > .character-recent-images-gallery
  625. > .character-gallery
  626. */
  627. .character-profile .character-recent-images {}
  628.  
  629. /*
  630. The title of the recent images.
  631. The dividing line between the title and the gallery
  632. is here.
  633. Padding: 5 20 5 20
  634. Border: 0 0 1 0
  635. Margin: 0 0 15 0
  636. */
  637. .character-profile .character-recent-images .character-recent-images-title {}
  638.  
  639. /*
  640. The fieldset that contains the container that contains
  641. the large-block-grid-6 gallery.
  642. 20px of padding all around, 5px margins top and bottom.
  643. */
  644. .character-profile .character-recent-images .character-recent-images-gallery {}
  645.  
  646. /*
  647. The container that contains the character gallery.
  648. No padding or margins.
  649.  
  650. Since the character gallery is a grid, it has -10 margins
  651. on both left and right sides.
  652. */
  653. .character-profile .character-recent-images .character-gallery {}
  654.  
  655. /***************************************************************************
  656.  
  657. Gallery
  658.  
  659. ***************************************************************************/
  660.  
  661. /*
  662. Character image gallery.
  663. The gallery is a large-block-grid-6.
  664. */
  665. .character-gallery {}
  666.  
  667. /*
  668. Thumbnails.
  669. Also the same as [.thumb].
  670. Contains only the image + the "Edit" label.
  671. */
  672. .character-gallery .gallery-thumb {}
  673. .character-gallery .gallery-thumb .th {}
  674. .character-gallery .gallery-thumb .th:hover {}
  675.  
  676. /*
  677. Only the edit label.
  678. To push it into the exact corner of the image,
  679. remove the bottom margin of .th and the margins
  680. for .label.secondary.
  681.  
  682. There strictly isn't a need to style it, but just
  683. in case it's hard to see...
  684. */
  685. .character-gallery .label.secondary {}
  686.  
  687. /*
  688. The save button.
  689. */
  690. .character-gallery .button {}
  691. .character-gallery .button:hover {}
  692.  
  693. /***************************************************************************
  694.  
  695. Worlds
  696.  
  697. ***************************************************************************/
  698.  
  699. /*
  700. The worlds container.
  701.  
  702. Worlds are contained in a small-block-grid-4.
  703. */
  704. .character-worlds {}
  705.  
  706. /*
  707. The "Add Character to a World" button.
  708. */
  709. .character-worlds .button {}
  710. .character-worlds .button:hover {}
  711.  
  712. /*
  713. The "Leave" label. One of those things that no one else
  714. will see so this is not strictly necessary...
  715. */
  716. .character-worlds .label.secondary {}
  717. .character-worlds .label.secondary a {}
  718.  
  719. .character-worlds .label.secondary:hover {}
  720. .character-worlds .label.secondary a:hover {}
  721.  
  722. /***************************************************************************
  723.  
  724. Links
  725.  
  726. ***************************************************************************/
  727.  
  728. /*
  729. The links page.
  730. The structure is exactly the same as the user profile
  731. links page minus the character selection bar at the top,
  732. so you can copy and paste any code for user profile links
  733. and change [.profile-links] to [.character-links]
  734. and vice versa.
  735.  
  736. This is probably one of the harder pages to style because
  737. there aren't very many unique ids and changing one thing
  738. is likely to break another thing...
  739. */
  740. .character-links {}
  741.  
  742. /************************************************
  743. .forums-ic-panel
  744. ************************************************/
  745.  
  746. /*
  747. This is named the same as the one used in comments, so
  748. be sure to add [.character-links] before it to avoid
  749. confusion...
  750.  
  751. This is the entire bar at the top.
  752. Padding 2px all around, margin 20px bottom.
  753. */
  754. .character-links .forums-ic-panel {}
  755.  
  756. /*
  757. This part contains the character selection buttons and
  758. so on.
  759. */
  760. .character-links .forums-ic-select {}
  761.  
  762. /*
  763. Displays the selected character, just like for comments.
  764. */
  765. .character-links #character_display {}
  766.  
  767. /*
  768. The "Select Character" button.
  769. Padding: 10 20 11 20
  770. Margin: 2 2 2 2
  771. */
  772. .character-links #select_character {}
  773.  
  774. /*
  775. The "Request Link" button.
  776. Note that using just [.button] will also affect the
  777. "Select Character" button.
  778. Padding/margins are a bit weird:
  779. Padding: 10 20 11 20
  780. Margin: 2 2 5 2
  781. */
  782. .character-links .forums-ic-select .button.radius {}
  783.  
  784. /*
  785. The character select modal styling can be done
  786. below under the comments section, since they use
  787. the same id (#select_character_panel).
  788. */
  789.  
  790. /************************************************
  791. .character-links-row
  792. ************************************************/
  793.  
  794. /*
  795. Each row of links.
  796. It contains everything in a single link.
  797. */
  798. .character-links .character-links-row {}
  799.  
  800. /*
  801. This one is probably going to be troublesome to style,
  802. but it might be useful depending on what you're trying
  803. to do...
  804.  
  805. Affects 3 things:
  806. 1. A container around the character icons/names/delete link label
  807. 2. A container around the links text
  808. 3. The links text panels
  809.  
  810. Might be easier to understand visually if you add a
  811. margin to separate them.
  812. 3 can easily be styled separately. 1 and 2 are harder
  813. to distinguish and require a lot of small fixes.
  814. */
  815. .character-links .character-links-row .clearfix {}
  816.  
  817. /*
  818. This shows up 4 times in a [.character-links-row].
  819. 1. left side character icon/names
  820. 2. right side character icon/names/delete label
  821. 3. left side character text (containing the [.panel])
  822. 4. right side character text (containing the [.panel])
  823.  
  824. Comes with 5px of padding all around.
  825. */
  826. .character-links .character-links-link {}
  827.  
  828. /*
  829. Contains the LEFT side icon and names in the row.
  830. It's presumably text-right because it's text-alignment right...
  831.  
  832. Side effect: styling this will affect the box containing
  833. the edit button in the [.panel] under the text box.
  834. Fix with [.profile-links .character-links-link .panel .text-right].
  835. */
  836. .character-links .character-links-link .text-right {}
  837.  
  838. /*
  839. Contains the RIGHT side icon, names and the delete label.
  840. Again, it's probably text-left because text-alignment left.
  841.  
  842. No side effect for this one.
  843. */
  844. .character-links .character-links-link .text-left {}
  845.  
  846. /*
  847. The character icons.
  848. Has a max height of 100px, no min-height.
  849. */
  850. .character-links .character-links-link .icon-100 {}
  851.  
  852. /*
  853. Affects all the labels. That is,
  854. 1. The delete label
  855. 2. The small link icon
  856. 3. Character name label
  857. 4. Username label
  858.  
  859. This is necessary because you can't affect
  860. only the character name labels. Everything else
  861. can be specifically modified.
  862. */
  863. .character-links .label {}
  864. .character-links .label:hover {}
  865.  
  866. /* The delete labels alone. */
  867. .character-links .label.alert {}
  868. .character-links .label.alert:hover {}
  869.  
  870. /* The link icons alone. */
  871. .character-links .label.muted {}
  872. .character-links .label.muted:hover {}
  873.  
  874. /*
  875. The username label alone.
  876. Note that changing the text colour here will not work;
  877. you need to use [a].
  878. */
  879. .character-links .label.secondary {}
  880. .character-links .label.secondary a {}
  881.  
  882. .character-links .label.secondary:hover {}
  883. .character-links .label.secondary a:hover {}
  884.  
  885. /*
  886. The panels that contain the text box and edit buttons.
  887. */
  888. .character-links .character-links-link .panel {}
  889.  
  890. /* The textboxes. */
  891. .character-links .character-links-link .panel .form-control {}
  892.  
  893. /*
  894. A row inside the panel that contains the
  895. "Notify (username) of change?" text as well as
  896. the [.text-right] that contains the button.
  897. */
  898. .character-links .character-links-link .panel .row {}
  899.  
  900. /* The edit button. */
  901. .character-links .character-links-link .panel button.tiny {}
  902. .character-links .character-links-link .panel button.tiny:hover {}
  903.  
  904. /***************************************************************************
  905.  
  906. Comments
  907.  
  908. ***************************************************************************/
  909. /*
  910. > .comment-create
  911. >> .forums-ic-panel
  912. > .reveal-modal
  913. > .forum-posts
  914. >> .forum-posts-sidebar
  915. >> .forum-post
  916. */
  917.  
  918. /*
  919. Comments container.
  920. If the divider hr needs to be modified, do it here (.comments hr)
  921.  
  922. Note that no styling is applied to specific bulletin pages,
  923. so nothing will happen on there...
  924. */
  925. .comments {}
  926.  
  927. /*
  928. The section for making comments.
  929. The important part is the IC switch + hidden components.
  930. */
  931. .comment-create {}
  932.  
  933. /************************************************
  934. .forums-ic-panel
  935. ************************************************/
  936.  
  937. /*
  938. The entire section containing the IC switch.
  939. */
  940. .comment-create .forums-ic-panel {}
  941.  
  942. /*
  943. It didn't use to be, but now it's of an appropriate width.
  944. The switch area can be reached with [.switch],
  945. but there's no point since the colour is dependent on
  946. [label], which cannot be edited (I think).
  947. Things to think of: colour, font.
  948. */
  949. .comment-create .forums-ic-switch {}
  950.  
  951. /*
  952. The selection area that contains the character
  953. and the relevant buttons.
  954. */
  955. .comment-create .forums-ic-select {}
  956.  
  957. /*
  958. The thing that shows the picture and current
  959. selected character. No padding.
  960. */
  961. .comment-create .forums-ic-select #character_display {}
  962.  
  963. /*
  964. Affects both buttons.
  965. */
  966. .comment-create .forums-ic-select .button {}
  967. .comment-create .forums-ic-select .button:hover {}
  968.  
  969. /*
  970. Affects a specific button only.
  971. Can use for playing with alignment/line breaks.
  972. */
  973. .comment-create .forums-ic-select #select_character {}
  974. .comment-create .forums-ic-select #select_image {}
  975.  
  976. .comment-create .forums-ic-select #select_character:hover {}
  977. .comment-create .forums-ic-select #select_image:hover {}
  978.  
  979. /*
  980. Can be used to style the textbox.
  981. Things to think about:
  982. padding, margins, colour, border-radius, box-shadow
  983. It's possible to make it entirely borderless/put
  984. a background image on it, but note that users can
  985. change the size of the textbox on their screen
  986. (not that this is a deterrent for doing cute things...)
  987.  
  988. If a background colour is specified (even transparent),
  989. it does not darken when the user clicks on it.
  990.  
  991. A fixed-sized textbox will be necessary if alignment's
  992. important, since we don't want it to deform too much when
  993. the user changes the window size...this is best used
  994. only with small textboxes tbh
  995. */
  996. .comment-create .form-control {}
  997.  
  998. /*
  999. The "Post Comment" button.
  1000. Ideally all buttons should be styled the same, and
  1001. all in one place though.
  1002. */
  1003. .comment-create .button {}
  1004. .comment-create .button:hover {}
  1005.  
  1006. /************************************************
  1007. .reveal-modal
  1008. ************************************************/
  1009.  
  1010. /*
  1011. These are the things that pop up for selecting characters
  1012. and images...and also affect the ones that do things
  1013. like submit images for characters and stuff
  1014. The latter don't need to be styled completely,
  1015. but may be worth checking for how readable they are
  1016. especially when working with a dark background
  1017.  
  1018. .reveal-modal{} affects all modals;
  1019. here I'll use their specific ids for comments.
  1020. */
  1021. #select_character_panel,
  1022. #select_image_panel {}
  1023.  
  1024. /* title of the modal */
  1025. #select_character_panel h4,
  1026. #select_image_panel h4 {}
  1027.  
  1028. /* selection area of the modal */
  1029. #select_character_panel .panel,
  1030. #select_image_panel .panel {}
  1031.  
  1032. /* more specific versions */
  1033. #select_character_panel .character-select-panel {}
  1034. #select_image_panel .image-select-panel {}
  1035.  
  1036. /* character selection */
  1037. #select_character_panel .character-select-row {}
  1038. #select_character_panel.character-select-row:hover {}
  1039.  
  1040. /* image selection */
  1041. #select_image_panel .image-select-cell {}
  1042. #select_image_panel .image-select-cell:hover {}
  1043.  
  1044. /* .button doesn't work, so use these */
  1045. #select_character_panel .character-select-button {}
  1046. #select_image_panel .image-select-button {}
  1047.  
  1048. #select_character_panel .character-select-button:hover {}
  1049. #select_image_panel .image-select-button:hover {}
  1050.  
  1051. /************************************************
  1052. .forum-posts
  1053. ************************************************/
  1054.  
  1055. /*
  1056. A container that holds each individual comment.
  1057. Adjust the padding here, add a line to
  1058. differentiate individual comments...
  1059. */
  1060. .forum-posts {}
  1061.  
  1062. /*
  1063. Holds the user's avatar. Can be used to crop
  1064. the image by way of overflow: hidden;.
  1065. */
  1066. .forum-posts .forum-posts-sidebar {}
  1067.  
  1068. /* Holds the main content of the post. */
  1069. .forum-posts .forum-post {}
  1070.  
  1071. /*
  1072. Notes who (and which character if applicable) posted
  1073. the comment, and when.
  1074. The date can be styled with abbr.
  1075. */
  1076. .forum-posts .forum-post .forum-post-caption {}
  1077.  
  1078. /*
  1079. For styling the Edit/Delete buttons.
  1080. [.label] gets both of them, while [.label.alert]
  1081. only gets the delete button.
  1082. */
  1083. .forum-posts .forum-post .label {}
  1084. .forum-posts .forum-post .label.alert {}
  1085.  
  1086. .forum-posts .forum-post .label:hover {}
  1087. .forum-posts .forum-post .label.alert:hover {}
  1088.  
  1089. /*
  1090. Main text content.
  1091. If there's no universal styling for .panel,
  1092. the background/border etc. can be changed here.
  1093. */
  1094. .forum-posts .forum-post-content {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement