aesthetic/stylesheets/main.cssView |
---|
368 | 368 | background-position: 11px 11px, 14px 14px; |
369 | 369 | z-index: -1 |
370 | 370 | } |
371 | 371 | |
372 | | -#question-page { |
373 | | - background: var(--primary_bg); |
374 | | - color: var(--primary_color); |
375 | | -} |
376 | | - |
377 | | -#question-form { |
378 | | - |
379 | | -} |
380 | | - |
381 | 372 | |
382 | 373 | |
383 | 374 | #updates { |
384 | 375 | max-width: 960px; |
483 | 474 | } |
484 | 475 | |
485 | 476 | .thoughts strong{ |
486 | 477 | border-bottom: 1px solid yellow; |
487 | | -} |
488 | | - * Coolguy.Website STYLES!!! * |
489 | | - *-----------------------------------------------------------* |
490 | | - * My main stylesheet, and the reason why coolguy looks * |
491 | | - * sooooo gooooooood. I was listening to a lot of * |
492 | | - * gothboiclique whie writing this, so the site might end * |
493 | | - * up more emo teen than intended. * |
494 | | - * * |
495 | | - ************************************************************/ |
496 | | - |
497 | | - |
498 | | -I have another file called colors.css that sets up color |
499 | | -variables for things like background, font color, accent color |
500 | | -and so on. This lets me be able to change the palette of the site |
501 | | -quickly. So if you see something in this file like: |
502 | | -background: var(--primary_bg) it means I'm using a variable called |
503 | | ---primary_bg which I defined in that colors.css. So check it out! |
504 | | -*/ |
505 | | - |
506 | | - |
507 | | -body, html { |
508 | | - padding: 0; |
509 | | - margin: 0; |
510 | | - box-sizing: border-box; |
511 | 478 | } |
512 | 479 | |
513 | | -p { |
514 | | - line-height: 1.3em; |
515 | | -} |
516 | | - |
517 | | -li { |
518 | | - line-height: 1.2em; |
519 | | - margin-bottom: 1.3em; |
520 | | -} |
521 | | - |
522 | | -a { |
523 | | - color: var(--link-color); |
524 | | - text-decoration: none; |
525 | | -} |
526 | | - |
527 | | -a:hover { |
528 | | - font-weight: 200; |
529 | | -} |
530 | | - |
531 | | -a:after { |
532 | | - content: "⬫"; |
533 | | - margin-left: 0.1em; |
534 | | - color: var(--link-symbol_color); |
535 | | -} |
536 | | - |
537 | | -figure { |
538 | | - max-width: 950px; |
539 | | - margin: auto; |
540 | | - margin-bottom: 3em; |
541 | | -} |
542 | | -figure img { |
543 | | - max-width: 90%; |
544 | | -} |
545 | | - |
546 | | -figcaption { |
547 | | - border-top: 1px solid var(--heading-color); |
548 | | - border-bottom: 1px solid var(--heading-color); |
549 | | - padding: 0.5em; |
550 | | - max-width: 500px; |
551 | | - margin: auto; |
552 | | - margin-bottom: 3em; |
553 | | -} |
554 | | -@media (max-width: 667px) { |
555 | | - figcaption { |
556 | | - margin: 0.5em; |
557 | | - } |
558 | | -} |
559 | | - |
560 | | -figcaption p{ |
561 | | - margin-top: 0.5em; |
562 | | - font-size: 0.65em; |
563 | | - font-style: italic; |
564 | | -} |
565 | | - |
566 | | -section { |
567 | | - padding: 3em; |
568 | | -} |
569 | | -@media (max-width: 667px) { |
570 | | - section { |
571 | | - padding: 1em; |
572 | | - } |
573 | | -} |
574 | | - |
575 | | - |
576 | | -These are some ID and Class specific values. Id's are represented as #name and class .name |
577 | | -So #greetings corresponds to <section id="greetings"></section> on my home page, |
578 | | -and #greetings h2 corresponds to the <h2> tag inside the <section id='greetings> |
579 | | -and #greetings .words corresponds to anything with the class words in the #greetings section (like <div class='words'>) |
580 | | -*/ |
581 | | - |
582 | | -#greetings { |
583 | | - display: grid; |
584 | | - grid-template-areas: |
585 | | - "header header header" |
586 | | - "words words portrait" |
587 | | - "words words portrait" |
588 | | - "flower flower portrait"; |
589 | | - max-width: 1200px; |
590 | | - margin: auto; |
591 | | -} |
592 | | - |
593 | | - the browser viewing it. Our first query would be for ipads or smaller |
594 | | - browsers, the next is for phones. |
595 | | -*/ |
596 | | -@media (max-width: 1100px) { |
597 | | - #greetings { |
598 | | - grid-template-areas: |
599 | | - "header header header" |
600 | | - " words words portrait" |
601 | | - "flower flower flower"; |
602 | | - } |
603 | | - #greetings .flower-garden { |
604 | | - align-items: center; |
605 | | - justify-content: center !important; |
606 | | - } |
607 | | -} |
608 | | -@media (max-width: 667px) { |
609 | | - #greetings { |
610 | | - grid-template-areas: |
611 | | - "header" |
612 | | - "portrait" |
613 | | - "words" |
614 | | - "flower"; |
615 | | - } |
616 | | -} |
617 | | - |
618 | | -#greetings h2 { |
619 | | - font-family: var(--heading-text); |
620 | | - font-size: 1.3em; |
621 | | - font-weight: 500; |
622 | | - grid-area: header; |
623 | | - letter-spacing: 0.2em; |
624 | | -} |
625 | | - |
626 | | -#greetings .words { |
627 | | - grid-area: words |
628 | | -} |
629 | | - |
630 | | -#greetings aside { |
631 | | - font-weight: 300; |
632 | | - font-size: 0.8em; |
633 | | - letter-spacing: 0.05em; |
634 | | - font-style: italic; |
635 | | -} |
636 | | - |
637 | | -#greetings .portrait { |
638 | | - grid-area: portrait; |
639 | | - align-self: end; |
640 | | -} |
641 | | - |
642 | | - |
643 | | -#greetings .portrait img{ |
644 | | - max-width: 100%; |
645 | | -} |
646 | | - |
647 | | -#greetings .flower-garden { |
648 | | - grid-area: flower; |
649 | | - display: flex; |
650 | | - justify-content: end; |
651 | | - align-items: baseline; |
652 | | -} |
653 | | - |
654 | | -#greetings .flower-garden img { |
655 | | - max-width: 33%; |
656 | | -} |
657 | | - |
658 | | -#home { |
659 | | - background: var(--primary_bg); |
660 | | - color: var(--primary_color); |
661 | | - font-size: var(--standard-size); |
662 | | - font-family: var(--body-text); |
663 | | -} |
664 | | - |
665 | | -#home header { |
666 | | - background: lavenderblush; |
667 | | - padding: 2em 2em 0.1em 1em; |
668 | | -} |
669 | | - |
670 | | -#home header h1 { |
671 | | - margin-top: 0; |
672 | | - padding: 0; |
673 | | - font-family: var(--title-text); |
674 | | - color: var(--heading-color); |
675 | | - font-size: 8vw; |
676 | | - margin-bottom: 0; |
677 | | - padding-bottom: 0; |
678 | | -} |
679 | | -@media (max-width: 667px) { |
680 | | - #home header h1 { |
681 | | - font-size: 11vw; |
682 | | - } |
683 | | -} |
684 | | - |
685 | | -#home header .subtitle { |
686 | | - margin-top: -0.75em; |
687 | | - font-size: 1.3em; |
688 | | - font-weight: 200; |
689 | | - padding-left: 1em; |
690 | | -} |
691 | | -@media (max-width: 667px) { |
692 | | - #home header .subtitle { |
693 | | - font-size: 1em; |
694 | | - margin-top: -0.5em; |
695 | | - } |
696 | | -} |
697 | | - |
698 | | -#invocation { |
699 | | - position: absolute; |
700 | | - top: 0; |
701 | | - right: 0; |
702 | | - padding: 0.75em; |
703 | | - font-size: 0.5em; |
704 | | - font-weight: 300; |
705 | | - font-style: italic; |
706 | | -} |
707 | | - |
708 | | - |
709 | | - We are applying the invocation to a quote tag (<q>). |
710 | | - Browsers add in quote marks to these tags, |
711 | | - but I don't want them, so we are removing them here. |
712 | | -*/ |
713 | | -#invocation:before { |
714 | | - content: none; |
715 | | -} |
716 | | -#invocation:after { |
717 | | - content: none; |
718 | | -} |
719 | | - |
720 | | -.daiso-card { |
721 | | - |
722 | | - background-color: var(--heading-color); |
723 | | - background-image: radial-gradient(white 15%, transparent 16%), |
724 | | - radial-gradient(white 15%, transparent 16%); |
725 | | - background-size: 8px 8px; |
726 | | - background-position: 0 0, 20px 20px; |
727 | | - border-radius: 5px; |
728 | | - max-width: 500px; |
729 | | - margin: auto; |
730 | | - margin-bottom: 3em; |
731 | | - padding: 0.25em; |
732 | | -} |
733 | | -@media (max-width: 667px) { |
734 | | - .daiso-card{ |
735 | | - margin: 1em; |
736 | | - } |
737 | | -} |
738 | | - |
739 | | -.daiso-page { |
740 | | - background: lavenderblush; |
741 | | - width: 100%; |
742 | | - display: flex; |
743 | | - flex-direction: column; |
744 | | - justify-content: center; |
745 | | - align-items: center; |
746 | | - border-radius: 5px; |
747 | | -} |
748 | | - |
749 | | -.daiso-page h2{ |
750 | | - font-family: var(--title-text); |
751 | | - margin-bottom: 0; |
752 | | - text-align: left; |
753 | | - width: 100%; |
754 | | - letter-spacing: 0.25em; |
755 | | - padding-left: 1.5em; |
756 | | -} |
757 | | - |
758 | | -.daiso-page ul { |
759 | | - margin-top: 0.5em; |
760 | | - display: grid; |
761 | | - grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); |
762 | | - grid-gap: 0.25em 0.25em; |
763 | | - padding: 1em; |
764 | | - list-style-type: none; |
765 | | - margin-bottom: 0; |
766 | | -} |
767 | | - |
768 | | -#directory { |
769 | | - border-top: 3px dotted var(--page-divider_color); |
770 | | - border-bottom: 3px dotted var(--page-divider_color); |
771 | | - box-shadow: inset 0 -1px 0 0 var(--page-divider_color), inset 0 1px 0 0 var(--page-divider_color), 0 1px 0 0 var(--page-divider_color), 0 -1px 0 0 var(--page-divider_color); |
772 | | -} |
773 | | - |
774 | | -#directory h2 { |
775 | | - max-width: 920px; |
776 | | - text-align: center; |
777 | | - margin: auto; |
778 | | - margin-bottom: 1em; |
779 | | - font-family: var(--title-text); |
780 | | - font-size: 1.8em; |
781 | | - letter-spacing: 0.25em; |
782 | | - padding: 0.25em; |
783 | | - color: lavenderblush; |
784 | | - background: var(--heading-color); |
785 | | -} |
786 | | - |
787 | | -#directory ul { |
788 | | - list-style-type: none; |
789 | | - max-width: 940px; |
790 | | - display: grid; |
791 | | - grid-gap: 10px; |
792 | | - margin: 0 auto; |
793 | | - grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); |
794 | | - grid-auto-rows: repeat(auto-fit, minmax(50px, auto)); |
795 | | - padding: 0; |
796 | | -} |
797 | | - |
798 | | -.directory-item a { |
799 | | - background: white; |
800 | | - padding: 1em; |
801 | | - position: relative; |
802 | | - display: flex; |
803 | | - flex-direction: column; |
804 | | - border: 1px solid lightgray; |
805 | | - z-index: 1; |
806 | | -} |
807 | | - |
808 | | -.directory-item strong { |
809 | | - margin-bottom: 1em; |
810 | | - line-height: 1em; |
811 | | - font-size: 1.2em; |
812 | | - margin-bottom: 1.5em; |
813 | | - font-weight: 300; |
814 | | - font-family: var(--secondary-heading-text); |
815 | | -} |
816 | | - |
817 | | -.directory-item a:after { |
818 | | - content: none; |
819 | | -} |
820 | | - |
821 | | -@media (min-width: 800px) { |
822 | | -#directory li:last-of-type { |
823 | | - grid-column-start: 2; |
824 | | -} |
825 | | -} |
826 | | - |
827 | | -.directory-item .description { |
828 | | - color: var(--primary_color); |
829 | | - margin-bottom: 1.5em; |
830 | | -} |
831 | | - |
832 | | - |
833 | | - What this means is that if I have a new section whose lines are real long, |
834 | | - then I need to add this class to it. I feel this is fine, though, since I |
835 | | - am not adding new items all that much, and so I don't need this to be all |
836 | | - calculated and dynamic, and I can keep the site JS-free. |
837 | | -*/ |
838 | | - |
839 | | -#directory .tall { |
840 | | - grid-row-end: span 2; |
841 | | -} |
842 | | - |
843 | | - |
844 | | -.dotted-pattern { |
845 | | - position: absolute; |
846 | | - height: 102%; |
847 | | - width: 100%; |
848 | | - top: 7px; |
849 | | - right: 7px; |
850 | | - background-color:none; |
851 | | - background-image: radial-gradient(var(--dotted-pattern_bg) 15%, transparent 16%), |
852 | | - radial-gradient(var(--dotted-pattern_bg) 15%, transparent 16%); |
853 | | - background-size: 05px 07px; |
854 | | - background-position: 11px 11px, 14px 14px; |
855 | | - z-index: -1 |
856 | | -} |
857 | | - |
858 | | - |
859 | | - |
860 | | -#updates { |
861 | | - max-width: 960px; |
862 | | - margin: auto; |
863 | | - margin-top: 3em; |
864 | | - background: white; |
865 | | - padding: 0; |
866 | | -} |
867 | | - |
868 | | -@media (max-width: 667px) { |
869 | | - #updates { |
870 | | - margin: 0.5em; |
871 | | - margin-top: 3em; |
872 | | - } |
873 | | -} |
874 | | - |
875 | | -#updates h2 { |
876 | | - width: 100%; |
877 | | - margin: 0; |
878 | | - background: var(--heading-color); |
879 | | - color: lavenderblush; |
880 | | - text-align: center; |
881 | | - font-family: var(--title-text); |
882 | | -} |
883 | | - |
884 | | -#updates ul { |
885 | | - margin: 0.75em; |
886 | | - padding: 3em; |
887 | | - background-image: radial-gradient(lightgray 15%, transparent 16%), |
888 | | - radial-gradient(lightgray 15%, transparent 16%); |
889 | | - background-size: 05px 07px; |
890 | | - background-position: 11px 11px, 14px 14px; |
891 | | - list-style-type: circle; |
892 | | -} |
893 | | - |
894 | | - |
895 | | - And heading for each item in my directory, while being able to change |
896 | | - their colors in just one spot. |
897 | | -*/ |
898 | | -.friends { |
899 | | - --dotted-pattern_bg: red; |
900 | | -} |
901 | | -.friends strong { |
902 | | - border-bottom: 1px solid red; |
903 | | -} |
904 | | - |
905 | | -.boardgames{ |
906 | | - --dotted-pattern_bg: red; |
907 | | -} |
908 | | -.boardgames strong { |
909 | | - border-bottom: 1px solid red; |
910 | | -} |
911 | | - |
912 | | -.solarpunk-magic { |
913 | | - --dotted-pattern_bg: purple; |
914 | | -} |
915 | | - |
916 | | -.solarpunk-magic strong { |
917 | | - border-bottom: 1px solid purple; |
918 | | -} |
919 | | - |
920 | | -.computer-thoughts { |
921 | | - --dotted-pattern_bg: green; |
922 | | -} |
923 | | -.computer-thoughts strong{ |
924 | | - border-bottom: 1px solid green; |
925 | | -} |
926 | | - |
927 | | -.projects { |
928 | | - --dotted-pattern_bg: orange; |
929 | | -} |
930 | | - |
931 | | -.projects strong { |
932 | | - border-bottom: 1px solid orange; |
933 | | -} |
934 | | - |
935 | | -.calendar { |
936 | | - --dotted-pattern_bg: gray; |
937 | | -} |
938 | | - |
939 | | -.calendar strong{ |
940 | | - border-bottom: 1px solid gray; |
941 | | -} |
942 | | - |
943 | | -.movies { |
944 | | - --dotted-pattern_bg: blue; |
945 | | -} |
946 | | -.movies strong{ |
947 | | - border-bottom: 1px solid blue; |
948 | | -} |
949 | | - |
950 | | -.links { |
951 | | - --dotted-pattern_bg: violet; |
952 | | -} |
953 | | - |
954 | | -.links strong { |
955 | | - border-bottom: 1px solid violet; |
956 | | -} |
957 | | - |
958 | | -.thoughts { |
959 | | - --dotted-pattern_bg: yellow; |
960 | | -} |
961 | | - |
962 | | -.thoughts strong{ |
963 | | - border-bottom: 1px solid yellow; |
964 | | -} |
965 | | - |
966 | 480 | .diary { |
967 | 481 | --dotted-pattern_bg: cornflowerblue; |
968 | 482 | } |
969 | 483 | |
977 | 491 | |
978 | 492 | .writing strong{ |
979 | 493 | border-bottom: 1px solid salmon; |
980 | 494 | } |
981 | | - |
982 | | -.diary { |
983 | | - --dotted-pattern_bg: cornflowerblue; |
984 | | -} |
985 | | - |
986 | | -.diary strong { |
987 | | - border-bottom: 1px solid cornflowerblue; |
988 | | -} |
989 | | - |
990 | | -.writing { |
991 | | - --dotted-pattern_bg: salmon; |
992 | | -} |
993 | | - |
994 | | -.writing strong{ |
995 | | - border-bottom: 1px solid salmon; |
996 | | -} |
997 | | - |
998 | | - |
999 | | - |