1 | /*************************************************************************** |
2 | |
3 | character css by cy @ toyhou.se |
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 | Options |
36 | |
37 | Colours used: |
38 | #000 |
39 | #333 |
40 | #777 |
41 | #bbb |
42 | #eee |
43 | |
44 | ***************************************************************************/ |
45 | |
46 | /* |
47 | If you don't like the round images and fixed-width image sizes |
48 | please comment out/remove this entire section |
49 | */ |
50 | .character-links .character-links-link .icon-100 |
51 | { |
52 | border-radius: 50%; |
53 | width: 100px; |
54 | height: 100px; |
55 | } |
56 | |
57 | .th img, .th.radius |
58 | { |
59 | width: 70px !important; |
60 | height: 70px !important; |
61 | overflow: hidden; |
62 | border-radius: 50%; |
63 | } |
64 | .th, .th.radius |
65 | { |
66 | border-radius: 50%; |
67 | } |
68 | |
69 | #sidebar .display-user img |
70 | { |
71 | max-width: 140px; |
72 | max-height: 140px; |
73 | width: 140px; |
74 | height: 140px; |
75 | } |
76 | |
77 | /* |
78 | Change this to modify the header image, |
79 | or you can comment out/remove it altogether |
80 | if you don't want a header image. |
81 | */ |
82 | #header |
83 | { |
84 | /* |
85 | Don't modify this unless you want a larger header - |
86 | it's to make it align with the rest of the page content. |
87 | |
88 | */ |
89 | width: 700px !important; |
90 | |
91 | /* |
92 | Change this to match the image. |
93 | You might need a bit of trial and error to |
94 | see how it works with the links. |
95 | */ |
96 | height: 300px !important; |
97 | |
98 | /* |
99 | Put your header image here. |
100 | The rest are modifications to how the image is |
101 | shown you can play around with them if you want |
102 | something that tiles for example |
103 | */ |
104 | background-image: url('http://i.imgur.com/4ECUk9k.png'); |
105 | |
106 | background-color: transparent; |
107 | background-repeat: no-repeat; |
108 | background-position: center top; |
109 | } |
110 | |
111 | /*************************************************************************** |
112 | |
113 | General properties |
114 | |
115 | ***************************************************************************/ |
116 | |
117 | /* |
118 | Both must be overwritten or hover colour will be default blue. |
119 | However, if [.display-user a] is set, that will take priority |
120 | */ |
121 | a, a:link, a:visited |
122 | { |
123 | color: #777; |
124 | } |
125 | a:hover |
126 | { |
127 | color: #bbb; |
128 | } |
129 | |
130 | /* |
131 | All timestamps |
132 | Attempts thus far to remove the dotted |
133 | bottom line have been unsuccessful |
134 | */ |
135 | abbr {} |
136 | |
137 | /* |
138 | padding is asymmetrical by default. (9 20 0 19) |
139 | */ |
140 | blockquote |
141 | { |
142 | padding: 15px 10px 15px 10px; |
143 | border-top: 2px solid #000; |
144 | border-bottom: 2px solid #000; |
145 | border-left: 0px; |
146 | color: #333; |
147 | margin-left: 30px; |
148 | margin-right: 30px; |
149 | text-align: justify; |
150 | } |
151 | |
152 | /* |
153 | Both the basic headers and the .panel headers need |
154 | to be modified at the same time since it doesn't |
155 | cascade into .panel, so bulletins etc. aren't affected |
156 | Oddly, things such as links do gain the changes... |
157 | */ |
158 | h1, .panel h1 |
159 | { |
160 | padding-left: 0px; |
161 | text-transform: none; |
162 | font-size: 35px; |
163 | color: #000; |
164 | } |
165 | h2, .panel h2 |
166 | { |
167 | font-size: 31px; |
168 | color: #000; |
169 | } |
170 | h3, .panel h3{} |
171 | h4, .panel h4{} |
172 | h5, .panel h5{} |
173 | h6, .panel h6{} |
174 | |
175 | /* |
176 | If hr doesn't work, add <p></p> tags |
177 | It seems to work fine for content, |
178 | but not in the sidebar blurb |
179 | |
180 | default values: |
181 | margin-top: 20px; |
182 | border-top: 1px; |
183 | margin-bottom: 19px; |
184 | */ |
185 | hr |
186 | { |
187 | border-top: 1px solid #000; |
188 | margin-top: 1em; |
189 | margin-bottom: 1em; |
190 | } |
191 | |
192 | /* |
193 | p seems to crop up every now and then, so best to remove any |
194 | padding whatsoever... |
195 | */ |
196 | p |
197 | { |
198 | padding: 0px; |
199 | } |
200 | |
201 | /*************************************************************************** |
202 | |
203 | Global IDs |
204 | |
205 | ***************************************************************************/ |
206 | |
207 | /************************************************ |
208 | .button variants |
209 | - [button] by itself cannot be modified |
210 | - modal buttons are more specific |
211 | ************************************************/ |
212 | /* |
213 | .button affected areas: |
214 | - only the "Post Comment" buttons |
215 | */ |
216 | .button |
217 | { |
218 | background-color: #000; |
219 | color: #fff; |
220 | } |
221 | .button:hover |
222 | { |
223 | background-color: #000; |
224 | color: #777; |
225 | } |
226 | .button:active |
227 | { |
228 | box-shadow: none; |
229 | } |
230 | |
231 | /* |
232 | .button.secondary affected areas: |
233 | - Worlds: "Save Worlds" |
234 | - Comments: "Select Character", "Select Image" |
235 | */ |
236 | .button.secondary {} |
237 | .button.secondary:hover {} |
238 | |
239 | /************************************************ |
240 | .display-user |
241 | ************************************************/ |
242 | |
243 | /* this affects any usernames */ |
244 | .display-user a {} |
245 | .display-user a:hover {} |
246 | |
247 | /************************************************ |
248 | .label variants |
249 | :hover (without using a:hover) is enough |
250 | for changing the hover text colour. |
251 | [a] does not affect label text |
252 | ************************************************/ |
253 | |
254 | /* |
255 | I've found that using .label in specific places will affect |
256 | all labels in that container, but using the generic [.label] |
257 | will affect only certain labels. |
258 | |
259 | .label affected areas: |
260 | - Profile: "Edit" labels, character name labels |
261 | - Bulletins: "Edit" labels (both main and individual posts) |
262 | - Characters: character name labels |
263 | - Designs: character name labels |
264 | - Images: character name labels |
265 | - Favourites: character name labels |
266 | - Comments: "Edit" labels |
267 | |
268 | To do hover text colour for character names, use [.label a] |
269 | To do hover text colour for edit labels, use [.label] (same for .alert) |
270 | Or: if the label itself isn't a link, use [.label a]. |
271 | */ |
272 | .label |
273 | { |
274 | background-color: transparent; |
275 | } |
276 | .label a {} |
277 | |
278 | .label:hover {} |
279 | .label a :hover{} |
280 | |
281 | /* |
282 | .label.primary affected areas: |
283 | - Profile: recent characters character name labels (but not featured) |
284 | - Characters: character name labels |
285 | - Designs: character name labels |
286 | - Favourites: character name labels |
287 | |
288 | .label is a better choice unless specificity is required. |
289 | */ |
290 | .label.primary |
291 | { |
292 | } |
293 | .label.primary:hover {} |
294 | |
295 | /* |
296 | .label.secondary affected areas: |
297 | - Profile: latest bulletin "# Comments" label, |
298 | recent characters username labels |
299 | - Bulletins: "# Comments" label (both main and individual posts) |
300 | - Characters: username labels |
301 | - Worlds: member rank label |
302 | - Designs: username labels |
303 | - Images: "Edit" labels |
304 | - Favourites: username labels |
305 | */ |
306 | .label.secondary { background-color: transparent; } |
307 | .label.secondary:hover {} |
308 | |
309 | /* |
310 | .label.alert affected areas: |
311 | - Profile: all the labels that say "Delete" |
312 | - Bulletins: "Delete" labels |
313 | - Comments: "Delete" labels |
314 | |
315 | To do hover text colour, don't use [a] |
316 | */ |
317 | .label.alert {} |
318 | .label.alert:hover {} |
319 | |
320 | /* |
321 | only appears on characters page; |
322 | one each for each counter icon + number |
323 | */ |
324 | .label.muted {} |
325 | |
326 | /************************************************ |
327 | .panel |
328 | ************************************************/ |
329 | |
330 | /* |
331 | .panel affected areas: |
332 | - Profile: latest bulletin, featured character, recent characters |
333 | - Bulletins: bulletin backgrounds |
334 | - Comments: comments (comment boxes) |
335 | - Modals: character selection (scrolling area), |
336 | image selection (scrolling area) |
337 | */ |
338 | .panel |
339 | { |
340 | background-color: transparent; |
341 | border-radius: 0px; |
342 | border: 0px; |
343 | font-size: 12px; |
344 | } |
345 | .panel p |
346 | { |
347 | font-size: 12px; |
348 | } |
349 | |
350 | /************************************************ |
351 | .th, .thumb |
352 | ************************************************/ |
353 | |
354 | /* |
355 | .th affected areas: |
356 | - all character/world thumbnail image boxes |
357 | |
358 | Use this to modify box-shadow and the fat white border, |
359 | as well as constrain the image's size |
360 | */ |
361 | .th img, .th.radius |
362 | { |
363 | border: 0px; |
364 | } |
365 | .th, .th.radius |
366 | { |
367 | box-shadow: 0px 0px 0px #fff; |
368 | } |
369 | .th:hover |
370 | { |
371 | box-shadow: 0px 0px 5px #eee; |
372 | } |
373 | |
374 | /* |
375 | .thumb affected areas: |
376 | - the entire section enclosing a character/world |
377 | - 3 versions: padded (no padding-top), margin-bottom, no padding/margin |
378 | - Profile: featured (images only (margin-bottom); excludes character), |
379 | recent characters |
380 | - Characters: characters |
381 | - Worlds: worlds (no padding) |
382 | - Images: images (margin-bottom) |
383 | - everything else is padded |
384 | */ |
385 | .thumb {} |
386 | |
387 | /************************************************ |
388 | pagination |
389 | ************************************************/ |
390 | |
391 | /* non-active page numbers */ |
392 | ul.pagination li a |
393 | { |
394 | color: #777; |
395 | } |
396 | ul.pagination li a:hover |
397 | { |
398 | background-color: #eee; |
399 | color: #bbb; |
400 | } |
401 | |
402 | /* current page number, modify background colour here */ |
403 | ul.pagination li.current a |
404 | { |
405 | background-color: transparent; |
406 | color: #000; |
407 | font-weight: bold; |
408 | } |
409 | ul.pagination li.current a:hover |
410 | { |
411 | color: #777; |
412 | } |
413 | |
414 | /* note that these are different */ |
415 | ul.pagination li {} |
416 | ul.pagination li:hover {} |
417 | ul.pagination li.current {} |
418 | ul.pagination li.current:hover {} |
419 | |
420 | /************************************************ |
421 | grids |
422 | ************************************************/ |
423 | |
424 | /* |
425 | ul.small-block-grid-6 |
426 | |
427 | Used for all the pages. |
428 | 6 to a row, width of each li is then 16.6%. |
429 | With fixed margins ~16.3% seems to work fine. |
430 | For some reason, has -10px left and right margins. |
431 | (To push it past #content's padding all the way to the edges?) |
432 | |
433 | On the Characters page, it's contained within |
434 | an uneditable fieldset that has 20px margins, |
435 | so it's padded an extra 10px from #content's edges by default. |
436 | To overcome this and reach #content, margins should be -20px |
437 | instead of the forced 0px here. |
438 | |
439 | Generally, styling the grids means finishing |
440 | Worlds/Designs/Images/Favourites all at once, or at least |
441 | very quickly. |
442 | */ |
443 | ul.small-block-grid-6 |
444 | { |
445 | margin-left: 0px; |
446 | margin-right: 0px; |
447 | } |
448 | |
449 | /* |
450 | ul.small-block-grid-6 li |
451 | |
452 | In the galleries, is a better option than .thumb and |
453 | has more power than .thumb does. |
454 | It's a better option because the padding is consistent. |
455 | However, it doesn't affect the profile page. |
456 | |
457 | Profile recent characters uses small-block-grid-3 |
458 | Profile featured character uses large-block-grid-6 (images only) |
459 | |
460 | remember that Characters page has the extra |
461 | 10px of padding all round though |
462 | */ |
463 | ul.small-block-grid-6 li |
464 | { |
465 | padding-top: 10px; |
466 | } |
467 | |
468 | /*************************************************************************** |
469 | |
470 | Containers |
471 | |
472 | ***************************************************************************/ |
473 | |
474 | /* |
475 | Contains everything on the page. |
476 | Shrinking this causes stuff to overflow. |
477 | Nice for backgrounds but don't touch the width/height. |
478 | */ |
479 | #container {} |
480 | |
481 | /* |
482 | Contains everything except the header and footer. |
483 | (i.e. it contains #sidebar and #content) |
484 | Can squash for a narrower content area. |
485 | */ |
486 | #main |
487 | { |
488 | width: 700px; |
489 | min-width: 700px; |
490 | margin-left: auto; |
491 | margin-right: auto; |
492 | } |
493 | |
494 | /* |
495 | Contains the main content of the page. |
496 | Note that the padding is compounded with the container |
497 | that represents the current page's content. |
498 | |
499 | Doing things like changing the text colour here will affect |
500 | text in created divs, but not text in panels and etc. |
501 | It also affects world names on the Worlds page. |
502 | Better to do text colour changes in specific places. |
503 | */ |
504 | #content |
505 | { |
506 | width: 550px; |
507 | padding: 0px 0px 200px 20px; |
508 | font-size: 14px; |
509 | text-align: justify; |
510 | } |
511 | #content p |
512 | { |
513 | font-size: 14px; |
514 | text-align: justify; |
515 | } |
516 | |
517 | /* |
518 | Generally not useful for layouts unless something to meet |
519 | the lower part of the page is required. |
520 | It contains the profiler which I'll also turn off here. |
521 | */ |
522 | #footer { display: none; } |
523 | .profiler { display: none; } |
524 | |
525 | /*************************************************************************** |
526 | |
527 | Header |
528 | |
529 | ***************************************************************************/ |
530 | |
531 | /* |
532 | I have no idea what to do with this sometimes; |
533 | it contains important functions so getting rid of it |
534 | isn't a good idea but it's also too thick for layouts sometimes. |
535 | */ |
536 | #header |
537 | { |
538 | min-width: 700px; |
539 | width: 700px; |
540 | position: relative; |
541 | height: 30px; |
542 | margin-left: auto; |
543 | margin-right: auto; |
544 | margin-bottom: 20px; |
545 | margin-top: 10px; |
546 | border-bottom: 2px solid #000; |
547 | } |
548 | |
549 | /* |
550 | All header buttons including the dropdown |
551 | If transparent, background colour will show through. |
552 | However, dropdown li will also become transparent |
553 | and will need to be set with [.dropdown li] |
554 | Both [#header a] and [#header li] need to be transparent. |
555 | Background colour can then be set on #header. |
556 | */ |
557 | #header a, #header li |
558 | { |
559 | background-color: #fff; |
560 | color: #777; |
561 | min-height: 25px; |
562 | } |
563 | #header a |
564 | { |
565 | padding-top: 0px; |
566 | margin-top: -7px; |
567 | } |
568 | .top-bar-section li |
569 | { |
570 | border-right: 1px solid #000; |
571 | font-size: 12px; |
572 | } |
573 | |
574 | #header a:hover |
575 | { |
576 | color: #bbb; |
577 | } |
578 | |
579 | .top-bar-section li.has-dropdown |
580 | { |
581 | border: 0px; |
582 | } |
583 | |
584 | /* Dropdown links */ |
585 | #header .dropdown a |
586 | { |
587 | background-color: #000; |
588 | color: #fff; |
589 | height: 25px !important; |
590 | margin-top: 7px; |
591 | border-bottom: 1px solid #fff; |
592 | } |
593 | #header .dropdown a:hover |
594 | { |
595 | color: #bbb; |
596 | } |
597 | #header .dropdown li |
598 | { |
599 | border: 0px !important; |
600 | background-color: transparent; |
601 | height: 25px !important; |
602 | min-height: 25px; |
603 | padding-left: 2px; |
604 | } |
605 | #header .dropdown li a |
606 | { |
607 | line-height: 25px; |
608 | height: 25px; |
609 | padding-left: 5px; |
610 | } |
611 | |
612 | /* Vertical divider; border-right */ |
613 | #header li.divider { display: none; } |
614 | |
615 | /* top-left homepage link */ |
616 | #header .title-area |
617 | { |
618 | display: none; |
619 | } |
620 | |
621 | /* user icon */ |
622 | #header img {} |
623 | |
624 | /* |
625 | To change the size of the bar visually |
626 | (padding and font sizes not included) |
627 | all these need to be changed |
628 | Even if #header a is transparent it needs |
629 | to be resized otherwise dropdowns will be |
630 | impossible to use |
631 | |
632 | Issue: I don't know how to deal with the dropdown arrow |
633 | */ |
634 | #header a, #header li, #header ul, #header h1 |
635 | { |
636 | height: 30px; |
637 | } |
638 | |
639 | /* |
640 | Notif buttons. |
641 | Padding: 5 10 5 10 |
642 | Margin: 5 0 0 0 |
643 | */ |
644 | #header .button |
645 | { |
646 | background-color: transparent; |
647 | color: #777; |
648 | border: 0px; |
649 | top: 0px; |
650 | margin-top: 2px; |
651 | } |
652 | #header .button:hover |
653 | { |
654 | color: #bbb; |
655 | } |
656 | |
657 | /* |
658 | Contains all the header bar stuff. |
659 | With some resizing of #header it's possible to |
660 | set up a header image while preserving the header bar. |
661 | #header's background goes under this. |
662 | |
663 | I haven't yet figured out how to adjust the padding |
664 | of the dropdown buttons. |
665 | */ |
666 | .top-bar-section |
667 | { |
668 | position: absolute; |
669 | bottom: 0px; |
670 | width: 700px; |
671 | background-color: #fff; |
672 | } |
673 | |
674 | /* |
675 | Only the left side of the header bar items, |
676 | excluding the top left homepage link. |
677 | Floats left. |
678 | */ |
679 | .top-bar-section .left |
680 | { |
681 | } |
682 | |
683 | /* |
684 | Only the right side of the header bar items. |
685 | Floats right. |
686 | |
687 | At the moment there's only one item so |
688 | #header .user-link does the same thing. |
689 | */ |
690 | .top-bar-section .right |
691 | { |
692 | } |
693 | |
694 | .top-bar-section .has-dropdown a:after |
695 | { |
696 | display: none; |
697 | } |
698 | |
699 | #header .fi-home, |
700 | #header .fi-comments, |
701 | #header .fi-plus, |
702 | #header img |
703 | { |
704 | display: none; |
705 | } |
706 | |
707 | /*************************************************************************** |
708 | |
709 | Sidebar |
710 | |
711 | ***************************************************************************/ |
712 | |
713 | /* |
714 | The whole sidebar. |
715 | All the li are transparent, so changing the |
716 | background colour affects everything except |
717 | for the box that says "User" (.header). |
718 | |
719 | Changing the text colour affects blurb text. |
720 | Padding pads all the content. |
721 | Default width is 16.6667%. |
722 | */ |
723 | #sidebar |
724 | { |
725 | background-color: transparent; |
726 | width: 150px; |
727 | text-align: right; |
728 | } |
729 | #sidebar .fi-comment, |
730 | #sidebar .fi-graph-bar |
731 | { |
732 | display: none; |
733 | } |
734 | |
735 | /* |
736 | Changing the colour affects all the link text in the sidebar. |
737 | Note that [.side-nav a] doesn't do the same. |
738 | Neither does [.side-nav li a]. |
739 | */ |
740 | #sidebar a |
741 | { |
742 | padding: 0px 5px 0px 5px; |
743 | line-height: 25px; |
744 | font-size: 12px; |
745 | color: #777; |
746 | border-bottom: 1px solid #000; |
747 | } |
748 | #sidebar a:hover |
749 | { |
750 | color: #bbb; |
751 | background-color: #eee; |
752 | } |
753 | |
754 | /* |
755 | Changing the background colour affects only the .header, |
756 | user link, blurb, and buttons. |
757 | Inserting padding here will also affect the .dividers so |
758 | be careful... |
759 | |
760 | Changing colour on hover here will affect every li in the |
761 | sidebar, including the blurb (which is probably not the |
762 | intended effect). So, the hover is put in [a] rather than [li]. |
763 | */ |
764 | #sidebar li |
765 | { |
766 | } |
767 | |
768 | /* |
769 | This contains only the part of the sidebar that has any content |
770 | (as opposed to #sidebar which stretches the length of the page) |
771 | |
772 | It has padding at the top and bottom. #sidebar has no padding. |
773 | */ |
774 | .side-nav {} |
775 | |
776 | /* |
777 | The box that says "User". |
778 | */ |
779 | #sidebar .header |
780 | { |
781 | background-color: #000; |
782 | padding: 5px; |
783 | font-size: 0px; |
784 | display: none; |
785 | } |
786 | |
787 | /* |
788 | The username + avatar box. |
789 | I recall having weird problems when doing up Jay's CSS, |
790 | but at the moment there doesn't seem to be any problem setting |
791 | a background image for this. |
792 | */ |
793 | #sidebar .display-user a |
794 | { |
795 | font-size: 0px; |
796 | padding-top: 10px; |
797 | padding-bottom: 10px; |
798 | height: 165px; |
799 | border-bottom: 2px solid #000; |
800 | } |
801 | #sidebar .display-user a:hover |
802 | { |
803 | background-color: transparent; |
804 | } |
805 | |
806 | #sidebar .display-user img:hover |
807 | { |
808 | background-color: #eee; |
809 | box-shadow: 0px 0px 5px #eee; |
810 | } |
811 | |
812 | /* |
813 | The blurb. |
814 | <hr> seems to require being between <p></p> tags. |
815 | |
816 | Note! Links in the blurb will appear like the other |
817 | buttons in the sidebar, i.e. they will stretch the |
818 | length of the sidebar and have padding. If this is not |
819 | what you want, add this (will affect ALL links in the blurb): |
820 | |
821 | #sidebar .blurb a {display: inline; padding: 0px;} |
822 | */ |
823 | #sidebar .blurb |
824 | { |
825 | /* padding-left: 5px; |
826 | padding-right: 5px;*/ |
827 | padding: 10px 0px; |
828 | text-align: left !important; |
829 | margin: 0px; |
830 | border-top: 1px solid #000; |
831 | border-bottom: 2px solid #000; |
832 | } |
833 | #sidebar .blurb p { margin: 0px; text-align: justified; } |
834 | #sidebar .blurb a {display: inline; padding: 0px;} |
835 | |
836 | /* |
837 | The dividers. |
838 | 5px of margin on top and below, border is border-top. |
839 | */ |
840 | #sidebar .divider |
841 | { |
842 | padding-left: 0px; |
843 | padding-right: 0px; |
844 | border-top: 1px solid #000; |
845 | margin: 0px; |
846 | } |
847 | |
848 | /* |
849 | It's not possible to touch any of the other buttons individually. |
850 | However it's possible to mess with the little icons... |
851 | */ |
852 | #sidebar i {} |
853 | |
854 | /* |
855 | The currently active page. |
856 | Use [.active a] to change the text colour. |
857 | */ |
858 | #sidebar .active |
859 | { |
860 | background-color: #000; |
861 | } |
862 | #sidebar .active a |
863 | { |
864 | color: #fff; |
865 | } |
866 | #sidebar .active a:hover |
867 | { |
868 | color: #bbb; |
869 | background-color: #333; |
870 | } |
871 | |
872 | .side-nav |
873 | { |
874 | padding-top: 0px; |
875 | } |
876 | |
877 | /*************************************************************************** |
878 | |
879 | Profile page |
880 | |
881 | ***************************************************************************/ |
882 | |
883 | /* |
884 | .character-profile |
885 | |
886 | Main editable content of the profile. |
887 | Separate from the columns below. |
888 | I usually throw in an extra div inside, just in case |
889 | I want to make more to abuse later. |
890 | There's no padding. |
891 | */ |
892 | .character-profile {} |
893 | |
894 | .character-profile .character-text-title |
895 | { |
896 | padding: 0px; |
897 | font-size: 35px; |
898 | font-weight: 700; |
899 | color: #000; |
900 | text-transform: none; |
901 | line-height: 1.5em; |
902 | margin-bottom: 10px; |
903 | border-bottom: 0px; |
904 | } |
905 | |
906 | .character-profile .character-text |
907 | { |
908 | border-bottom: 10px solid #000; |
909 | padding: 0px 0px 20px 0px; |
910 | margin-bottom: 20px; |
911 | } |
912 | |
913 | /************************************************ |
914 | .character-stats |
915 | ************************************************/ |
916 | |
917 | /* |
918 | The character stats box. |
919 | Forced to float right. It overlaps everything else |
920 | on the page. |
921 | Resembles a [.panel] but isn't one. |
922 | |
923 | I don't really know what to do with it sometimes... |
924 | */ |
925 | .character-profile .character-stats |
926 | { |
927 | background-color: #fff; |
928 | border: 0px; |
929 | text-align: right; |
930 | font-size: 12px; |
931 | line-height: 25px; |
932 | width: 150px; |
933 | min-width: 150px; |
934 | padding: 0px 0px 0px 15px; |
935 | } |
936 | |
937 | /* |
938 | Each row in the stats box. |
939 | Contains a [.character-stat-title] and |
940 | a [.character-stat-value]. |
941 | */ |
942 | .character-profile .character-stats .character-stat-row |
943 | { |
944 | border-bottom: 2px solid #000; |
945 | margin-bottom: 0px; |
946 | padding-bottom: 0px; |
947 | } |
948 | |
949 | /* |
950 | Title of a row in the character stats. |
951 | */ |
952 | .character-profile .character-stats .character-stat-title |
953 | { |
954 | border-bottom: 1px solid #000; |
955 | text-align: left; |
956 | } |
957 | |
958 | /* |
959 | Value of a row in the character stats. |
960 | */ |
961 | .character-profile .character-stats .character-stat-value |
962 | { |
963 | padding: 0px; |
964 | } |
965 | |
966 | /* |
967 | Username + picture in the character stats. |
968 | Can reach the image alone with [img] if you |
969 | want to hide it... |
970 | */ |
971 | .character-profile .character-stats img { display: none; } |
972 | |
973 | /* |
974 | Character stats tags. |
975 | */ |
976 | .character-profile .character-stats .label {} |
977 | .character-profile .character-stats .label:hover {} |
978 | |
979 | /************************************************ |
980 | .character-fields |
981 | ************************************************/ |
982 | |
983 | /* |
984 | Fields. |
985 | Hierarchy: |
986 | > .character-fields |
987 | > .character-fields-title |
988 | > .character-field-row |
989 | > .character-field-title |
990 | > .character-field-value |
991 | */ |
992 | .character-profile .character-fields |
993 | { |
994 | border-bottom: 10px solid #000; |
995 | padding: 0px 0px 20px 0px; |
996 | margin-bottom: 20px; |
997 | } |
998 | |
999 | /* |
1000 | The title of the character fields. |
1001 | The dividing line between the title and the fields |
1002 | is here. |
1003 | Padding: 5 20 5 20 |
1004 | Border: 0 0 1 0 |
1005 | Margin: 0 0 15 0 |
1006 | */ |
1007 | .character-profile .character-fields .character-fields-title |
1008 | { |
1009 | padding: 0px; |
1010 | font-size: 35px; |
1011 | font-weight: 700; |
1012 | color: #000; |
1013 | text-transform: none; |
1014 | line-height: 1.5em; |
1015 | margin-bottom: 10px; |
1016 | border-bottom: 0px; |
1017 | } |
1018 | |
1019 | /* |
1020 | Each row of the stats. |
1021 | */ |
1022 | .character-profile .character-fields .character-field-row {} |
1023 | |
1024 | /* |
1025 | The title of the field. |
1026 | Text aligned right, uppercase by default. |
1027 | */ |
1028 | .character-profile .character-fields .character-field-title p |
1029 | { |
1030 | color: #777; |
1031 | line-height: 25px; |
1032 | font-weight: 700; |
1033 | text-align: right !important; |
1034 | } |
1035 | |
1036 | /* |
1037 | The value of the field. |
1038 | Spacing between the title and the value is done here |
1039 | by way of padding (20px left and right). |
1040 | */ |
1041 | .character-profile .character-fields .character-field-value {} |
1042 | |
1043 | /************************************************ |
1044 | .character-recent-images |
1045 | ************************************************/ |
1046 | |
1047 | /* |
1048 | Recent images. |
1049 | Hierarchy: |
1050 | > .character-recent-images |
1051 | > .character-recent-images-title |
1052 | > .character-recent-images-gallery |
1053 | > .character-gallery |
1054 | */ |
1055 | .character-profile .character-recent-images |
1056 | { |
1057 | padding: 0px; |
1058 | } |
1059 | |
1060 | /* |
1061 | The title of the recent images. |
1062 | The dividing line between the title and the gallery |
1063 | is here. |
1064 | Padding: 5 20 5 20 |
1065 | Border: 0 0 1 0 |
1066 | Margin: 0 0 15 0 |
1067 | */ |
1068 | .character-profile .character-recent-images .character-recent-images-title |
1069 | { |
1070 | padding: 0px; |
1071 | font-size: 35px; |
1072 | font-weight: 700; |
1073 | color: #000; |
1074 | text-transform: none; |
1075 | line-height: 1.5em; |
1076 | margin-bottom: 10px; |
1077 | border-bottom: 0px; |
1078 | } |
1079 | |
1080 | /* |
1081 | The fieldset that contains the container that contains |
1082 | the large-block-grid-6 gallery. |
1083 | 20px of padding all around, 5px margins top and bottom. |
1084 | */ |
1085 | .character-profile .character-recent-images .character-recent-images-gallery |
1086 | { |
1087 | padding: 0px; |
1088 | } |
1089 | |
1090 | /* |
1091 | The container that contains the character gallery. |
1092 | No padding or margins. |
1093 | |
1094 | Since the character gallery is a grid, it has -10 margins |
1095 | on both left and right sides. |
1096 | */ |
1097 | .character-profile .character-recent-images .character-gallery {} |
1098 | |
1099 | .character-profile .character-recent-images .character-gallery .th, |
1100 | .character-profile .character-recent-images .character-gallery img |
1101 | { |
1102 | max-width: none; |
1103 | } |
1104 | |
1105 | /*************************************************************************** |
1106 | |
1107 | Gallery |
1108 | |
1109 | ***************************************************************************/ |
1110 | |
1111 | /* |
1112 | Character image gallery. |
1113 | The gallery is a large-block-grid-6. |
1114 | */ |
1115 | .character-gallery {} |
1116 | |
1117 | /* |
1118 | Thumbnails. |
1119 | Also the same as [.thumb]. |
1120 | Contains only the image + the "Edit" label. |
1121 | */ |
1122 | .character-gallery .gallery-thumb {} |
1123 | .character-gallery .gallery-thumb .th {} |
1124 | .character-gallery .gallery-thumb .th:hover {} |
1125 | |
1126 | /* |
1127 | Only the edit label. |
1128 | To push it into the exact corner of the image, |
1129 | remove the bottom margin of .th and the margins |
1130 | for .label.secondary. |
1131 | |
1132 | There strictly isn't a need to style it, but just |
1133 | in case it's hard to see... |
1134 | */ |
1135 | .character-gallery .label.secondary {} |
1136 | |
1137 | /* |
1138 | The save button. |
1139 | */ |
1140 | .character-gallery .button {} |
1141 | .character-gallery .button:hover {} |
1142 | |
1143 | /*************************************************************************** |
1144 | |
1145 | Worlds |
1146 | |
1147 | ***************************************************************************/ |
1148 | |
1149 | /* |
1150 | The worlds container. |
1151 | |
1152 | Worlds are contained in a small-block-grid-4. |
1153 | */ |
1154 | .character-worlds {} |
1155 | |
1156 | /* |
1157 | The "Add Character to a World" button. |
1158 | */ |
1159 | .character-worlds .button {} |
1160 | .character-worlds .button:hover {} |
1161 | |
1162 | /* |
1163 | The "Leave" label. One of those things that no one else |
1164 | will see so this is not strictly necessary... |
1165 | */ |
1166 | .character-worlds .label.secondary {} |
1167 | .character-worlds .label.secondary a {} |
1168 | |
1169 | .character-worlds .label.secondary:hover {} |
1170 | .character-worlds .label.secondary a:hover {} |
1171 | |
1172 | /*************************************************************************** |
1173 | |
1174 | Links |
1175 | |
1176 | ***************************************************************************/ |
1177 | |
1178 | /* |
1179 | The links page. |
1180 | The structure is exactly the same as the character |
1181 | links page minus the character selection bar at the top, |
1182 | so you can copy and paste any code for character links |
1183 | and change [.character-links] to [.profile-links] |
1184 | and vice versa. |
1185 | |
1186 | This is probably one of the harder pages to style because |
1187 | there aren't very many unique ids and changing one thing |
1188 | is likely to break another thing... |
1189 | */ |
1190 | .profile-links {} |
1191 | |
1192 | /************************************************ |
1193 | .character-links-row |
1194 | ************************************************/ |
1195 | |
1196 | /* |
1197 | Each row of links. |
1198 | It contains everything in a single link. |
1199 | */ |
1200 | .character-links .character-links-row |
1201 | { |
1202 | border-bottom: 1px solid #000; |
1203 | margin-bottom: 20px; |
1204 | } |
1205 | .character-links .character-links-row .clearfix |
1206 | { |
1207 | border-bottom: 1px solid #000; |
1208 | } |
1209 | |
1210 | /* |
1211 | This one is probably going to be troublesome to style, |
1212 | but it might be useful depending on what you're trying |
1213 | to do... |
1214 | |
1215 | Affects 3 things: |
1216 | 1. A container around the character icons/names/delete link label |
1217 | 2. A container around the links text |
1218 | 3. The links text panels |
1219 | |
1220 | Might be easier to understand visually if you add a |
1221 | margin to separate them. |
1222 | 3 can easily be styled separately. 1 and 2 are harder |
1223 | to distinguish and require a lot of small fixes. |
1224 | */ |
1225 | .character-links .character-links-row .clearfix {} |
1226 | |
1227 | /* |
1228 | This shows up 4 times in a [.character-links-row]. |
1229 | 1. left side character icon/names |
1230 | 2. right side character icon/names/delete label |
1231 | 3. left side character text (containing the [.panel]) |
1232 | 4. right side character text (containing the [.panel]) |
1233 | |
1234 | Comes with 5px of padding all around. |
1235 | */ |
1236 | .character-links .character-links-link {} |
1237 | |
1238 | /* |
1239 | Contains the LEFT side icon and names in the row. |
1240 | It's presumably text-right because it's text-alignment right... |
1241 | |
1242 | Side effect: styling this will affect the box containing |
1243 | the edit button in the [.panel] under the text box. |
1244 | Fix with [.profile-links .character-links-link .panel .text-right]. |
1245 | */ |
1246 | .character-links .character-links-link .text-right {} |
1247 | |
1248 | /* |
1249 | Contains the RIGHT side icon, names and the delete label. |
1250 | Again, it's probably text-left because text-alignment left. |
1251 | |
1252 | No side effect for this one. |
1253 | */ |
1254 | .character-links .character-links-link .text-left {} |
1255 | |
1256 | .character-links .character-links-link .text-left .icon-100 |
1257 | { |
1258 | float: left; |
1259 | } |
1260 | .character-links .character-links-link .text-right .icon-100 |
1261 | { |
1262 | float: right; |
1263 | } |
1264 | |
1265 | .character-links .character-links-link .text-left .label |
1266 | { |
1267 | float: right; |
1268 | clear: both; |
1269 | font-size: 12px; |
1270 | } |
1271 | .character-links .character-links-link .text-right .label |
1272 | { |
1273 | float: left; |
1274 | clear: both; |
1275 | font-size: 12px; |
1276 | } |
1277 | .character-links .character-links-link .fi-link |
1278 | { |
1279 | padding-left: 8px; |
1280 | padding-right: 8px; |
1281 | } |
1282 | |
1283 | .character-links .character-links-link .label |
1284 | { |
1285 | |
1286 | } |
1287 | .character-links .character-links-link .label:hover {} |
1288 | |
1289 | /* |
1290 | Affects all the labels. That is, |
1291 | 1. The delete label |
1292 | 2. The small link icon |
1293 | 3. Character name label |
1294 | 4. Username label |
1295 | |
1296 | This is necessary because you can't affect |
1297 | only the character name labels. Everything else |
1298 | can be specifically modified. |
1299 | */ |
1300 | .character-links .label {} |
1301 | .character-links .label:hover {} |
1302 | |
1303 | /* The delete labels alone. */ |
1304 | .character-links .label.alert |
1305 | { |
1306 | background-color: transparent; |
1307 | color: #777; |
1308 | } |
1309 | .character-links .label.alert:hover |
1310 | { |
1311 | color: #bbb; |
1312 | } |
1313 | |
1314 | /* The link icons alone. */ |
1315 | .character-links .label.muted {} |
1316 | .character-links .label.muted:hover {} |
1317 | |
1318 | /* |
1319 | The username label alone. |
1320 | Note that changing the text colour here will not work; |
1321 | you need to use [a]. |
1322 | */ |
1323 | .character-links .label.secondary { margin-bottom: 15px; } |
1324 | .character-links .label.secondary a {} |
1325 | |
1326 | .character-links .label.secondary:hover {} |
1327 | .character-links .label.secondary a:hover {} |
1328 | |
1329 | /* |
1330 | The panels that contain the text box and edit buttons. |
1331 | */ |
1332 | .character-links .character-links-link .panel.radius |
1333 | { |
1334 | border: 0px !important; |
1335 | } |
1336 | |
1337 | /* The textboxes. */ |
1338 | .character-links .character-links-link .panel .form-control |
1339 | { |
1340 | box-shadow: none; |
1341 | border-radius: 0px; |
1342 | border: 1px solid #000; |
1343 | background-color: #fff; |
1344 | } |
1345 | |
1346 | /* |
1347 | A row inside the panel that contains the |
1348 | "Notify (username) of change?" text as well as |
1349 | the [.text-right] that contains the button. |
1350 | */ |
1351 | .character-links .character-links-link .panel .row {} |
1352 | |
1353 | /* The edit button. */ |
1354 | .character-links .character-links-link .panel button.tiny |
1355 | { |
1356 | background-color: #000; |
1357 | color: #fff; |
1358 | margin: 0px; |
1359 | border-radius: 0px; |
1360 | } |
1361 | .character-links .character-links-link .panel button.tiny:hover |
1362 | { |
1363 | background-color: #000; |
1364 | color: #777; |
1365 | } |
1366 | |
1367 | .character-links .character-links-link .characters-links-text |
1368 | { |
1369 | margin-bottom: 10px; |
1370 | } |
1371 | |
1372 | /*************************************************************************** |
1373 | |
1374 | Comments |
1375 | |
1376 | ***************************************************************************/ |
1377 | /* |
1378 | > .comment-create |
1379 | >> .forums-ic-panel |
1380 | > .reveal-modal |
1381 | > .forum-posts |
1382 | >> .forum-posts-sidebar |
1383 | >> .forum-post |
1384 | */ |
1385 | |
1386 | /* |
1387 | Comments container. |
1388 | If the divider hr needs to be modified, do it here (.comments hr) |
1389 | |
1390 | Note that no styling is applied to specific bulletin pages, |
1391 | so nothing will happen on there... |
1392 | */ |
1393 | .comments {} |
1394 | |
1395 | /* |
1396 | The section for making comments. |
1397 | The important part is the IC switch + hidden components. |
1398 | */ |
1399 | .comment-create {} |
1400 | |
1401 | .comments hr |
1402 | { |
1403 | border: 0px; |
1404 | } |
1405 | |
1406 | /************************************************ |
1407 | .forums-ic-panel |
1408 | ************************************************/ |
1409 | |
1410 | /* |
1411 | The entire section containing the IC switch. |
1412 | */ |
1413 | .comment-create .forums-ic-panel |
1414 | { |
1415 | margin-bottom: 10px; |
1416 | padding: 0px; |
1417 | } |
1418 | |
1419 | /* |
1420 | It didn't use to be, but now it's of an appropriate width. |
1421 | The switch area can be reached with [.switch], |
1422 | but there's no point since the colour is dependent on |
1423 | [label], which cannot be edited (I think). |
1424 | Things to think of: colour, font. |
1425 | */ |
1426 | .comment-create .forums-ic-switch |
1427 | { |
1428 | width: 15%; |
1429 | float: left; |
1430 | clear: both; |
1431 | color: #000; |
1432 | } |
1433 | |
1434 | /* |
1435 | The selection area that contains the character |
1436 | and the relevant buttons. |
1437 | */ |
1438 | .comment-create .forums-ic-select |
1439 | { |
1440 | float: left; |
1441 | display: inline; |
1442 | clear: both; |
1443 | padding-left: 0px; |
1444 | padding-right: 0px; |
1445 | } |
1446 | |
1447 | /* |
1448 | The thing that shows the picture and current |
1449 | selected character. No padding. |
1450 | */ |
1451 | .comment-create .forums-ic-select .character_display , |
1452 | .comment-create .forums-ic-select .character_display img |
1453 | { |
1454 | margin-right: 10px; |
1455 | display: block; |
1456 | margin-bottom: 15px; |
1457 | } |
1458 | |
1459 | /* |
1460 | Affects both buttons. |
1461 | */ |
1462 | .comment-create .forums-ic-select .button |
1463 | { |
1464 | background-color: #000; |
1465 | color: #fff; |
1466 | margin: 0px; |
1467 | } |
1468 | .comment-create .forums-ic-select .button:hover |
1469 | { |
1470 | background-color: #000; |
1471 | color: #777; |
1472 | } |
1473 | |
1474 | /* |
1475 | Affects a specific button only. |
1476 | Can use for playing with alignment/line breaks. |
1477 | */ |
1478 | .comment-create .forums-ic-select .select_character {} |
1479 | .comment-create .forums-ic-select .select_image {} |
1480 | |
1481 | .comment-create .forums-ic-select .select_character:hover {} |
1482 | .comment-create .forums-ic-select .select_image:hover {} |
1483 | |
1484 | /* |
1485 | Can be used to style the textbox. |
1486 | Things to think about: |
1487 | padding, margins, colour, border-radius, box-shadow |
1488 | It's possible to make it entirely borderless/put |
1489 | a background image on it, but note that users can |
1490 | change the size of the textbox on their screen |
1491 | (not that this is a deterrent for doing cute things...) |
1492 | |
1493 | If a background colour is specified (even transparent), |
1494 | it does not darken when the user clicks on it. |
1495 | |
1496 | A fixed-sized textbox will be necessary if alignment's |
1497 | important, since we don't want it to deform too much when |
1498 | the user changes the window size...this is best used |
1499 | only with small textboxes tbh |
1500 | */ |
1501 | .comment-create .form-control |
1502 | { |
1503 | margin-bottom: 10px; |
1504 | background-color: #fff; |
1505 | border-color: #000; |
1506 | border-radius: 0px; |
1507 | box-shadow: none; |
1508 | } |
1509 | |
1510 | /* |
1511 | The "Post Comment" button. |
1512 | Ideally all buttons should be styled the same, and |
1513 | all in one place though. |
1514 | */ |
1515 | .comment-create .button {} |
1516 | .comment-create .button:hover {} |
1517 | |
1518 | /************************************************ |
1519 | .reveal-modal |
1520 | ************************************************/ |
1521 | |
1522 | /* |
1523 | These are the things that pop up for selecting characters |
1524 | and images...and also affect the ones that do things |
1525 | like submit images for characters and stuff |
1526 | The latter don't need to be styled completely, |
1527 | but may be worth checking for how readable they are |
1528 | especially when working with a dark background |
1529 | |
1530 | .reveal-modal{} affects all modals; |
1531 | here I'll use their specific ids for comments. |
1532 | */ |
1533 | .reveal-modal |
1534 | { |
1535 | border-radius: 0px; |
1536 | border: 1px solid #000; |
1537 | } |
1538 | |
1539 | .select_character_panel, |
1540 | .select_image_panel {} |
1541 | |
1542 | /* title of the modal */ |
1543 | .select_character_panel h4, |
1544 | .select_image_panel h4 |
1545 | { |
1546 | margin-top: -20px; |
1547 | } |
1548 | |
1549 | /* selection area of the modal */ |
1550 | .select_character_panel .panel, |
1551 | .select_image_panel .panel |
1552 | { |
1553 | border: 2px solid #000; |
1554 | } |
1555 | |
1556 | /* more specific versions */ |
1557 | .select_character_panel .character-select-panel {} |
1558 | .select_image_panel .image-select-panel {} |
1559 | |
1560 | /* character selection */ |
1561 | .select_character_panel .character-select-row {} |
1562 | .select_character_panel.character-select-row:hover |
1563 | { |
1564 | background-color: #eee; |
1565 | } |
1566 | |
1567 | .select_character_panel .character-select-row a |
1568 | { |
1569 | color: #777; |
1570 | } |
1571 | .select_character_panel .character-select-row a:hover |
1572 | { |
1573 | color: #bbb; |
1574 | } |
1575 | |
1576 | /* image selection */ |
1577 | .select_image_panel .image-select-cell {} |
1578 | .select_image_panel .image-select-cell:hover {} |
1579 | |
1580 | /* .button doesn't work, so use these */ |
1581 | .select_character_panel .character-select-button, |
1582 | .select_image_panel .image-select-button |
1583 | { |
1584 | background-color: #000; |
1585 | color: #fff; |
1586 | } |
1587 | |
1588 | .select_character_panel .character-select-button:hover, |
1589 | .select_image_panel .image-select-button:hover |
1590 | { |
1591 | color: #777; |
1592 | } |
1593 | |
1594 | /************************************************ |
1595 | .forum-posts |
1596 | ************************************************/ |
1597 | |
1598 | .forum-posts hr { border-bottom: 1px solid #000; } |
1599 | |
1600 | /* |
1601 | A container that holds each individual comment. |
1602 | Adjust the padding here, add a line to |
1603 | differentiate individual comments... |
1604 | */ |
1605 | .forum-posts |
1606 | { |
1607 | border-bottom: 1px solid #000; |
1608 | } |
1609 | |
1610 | /* |
1611 | Holds the user's avatar. Can be used to crop |
1612 | the image by way of overflow: hidden;. |
1613 | */ |
1614 | .forum-posts .forum-posts-sidebar |
1615 | { |
1616 | padding-left: 0px; |
1617 | padding-top: 20px; |
1618 | } |
1619 | |
1620 | /* Holds the main content of the post. */ |
1621 | .forum-posts .forum-post |
1622 | { |
1623 | padding-top: 20px; |
1624 | } |
1625 | |
1626 | /* |
1627 | Notes who (and which character if applicable) posted |
1628 | the comment, and when. |
1629 | The date can be styled with abbr. |
1630 | */ |
1631 | .forum-posts .forum-post .forum-post-caption |
1632 | { |
1633 | text-transform: none; |
1634 | color: #333; |
1635 | } |
1636 | |
1637 | /* |
1638 | For styling the Edit/Delete buttons. |
1639 | [.label] gets both of them, while [.label.alert] |
1640 | only gets the delete button. |
1641 | */ |
1642 | .forum-posts .forum-post .label |
1643 | { |
1644 | float: right; |
1645 | clear: both; |
1646 | background-color: #fff; |
1647 | color: #777; |
1648 | } |
1649 | .forum-posts .forum-post .label.alert {} |
1650 | |
1651 | .forum-posts .forum-post .label:hover |
1652 | { |
1653 | color: #bbb; |
1654 | } |
1655 | .forum-posts .forum-post .label.alert:hover {} |
1656 | |
1657 | /* |
1658 | Main text content. |
1659 | If there's no universal styling for .panel, |
1660 | the background/border etc. can be changed here. |
1661 | */ |
1662 | .forum-posts .forum-post-content {} |
1663 | |
1664 | .comment .comment-replies |
1665 | { |
1666 | border-left: 0px; |
1667 | } |
1668 | |
1669 | .comment .button |
1670 | { |
1671 | background-color: #000; |
1672 | color: #fff; |
1673 | } |
1674 | .comment .button:hover |
1675 | { |
1676 | background-color: #000; |
1677 | color: #777; |
1678 | } |