1
0
Fork 0
This repository has been archived on 2020-11-09. You can view files and clone it, but cannot push or open issues or pull requests.
vanilla-theme-fancy-gms/design/custom.css

423 lines
6.1 KiB
CSS
Raw Normal View History

/*
2020-03-19 05:20:26 +00:00
TABLE OF CONTENTS ^TOC
- - - - - - - - - - - - - -
Vanilla's HTML is a mess to me--doing my best to work
round it >:(
TAGS
(so you can jump to sections :)
^TOC . . . Table of Contents / top
^GENERAL . . General rules
^HACKX . . Horrible hacks
^LAYOUT . . .
^HEADER . . Header
^MAIN . . Main content area
^PANEL . . Side panel
^FOOTER . . Page footer
^PAGES . . .
^CATS . . Main / front page
^POSTS . . Discussion threads
^SEARCH . . Search results page
^PROFILE . User profile page
^LOGIN . . Log-in pop-up
2020-03-19 05:20:26 +00:00
- - - - - - - - - - - - - -
2020-03-19 05:20:26 +00:00
STYLE NOTES
2020-03-19 05:20:26 +00:00
Colours:
red #ed1c24
pink #ffaec9
yellow #fff200
2020-03-19 05:20:26 +00:00
grey #f0f0f0
Sizes:
regular 1em
small 0.7em
General - - - - - - - - - - - - ^GENERAL
*/
2020-03-19 05:20:26 +00:00
a:link {
color:blue;
text-decoration:underline;
}
a:visited {
color:purple;
text-decoration:underline dashed;
}
a:hover {
color:#ed1c24;
text-decoration:none;
}
body {
2020-03-19 05:20:26 +00:00
background-color:white;
display:grid;
font-size:1em;
font-family:sans-serif;
grid-template-columns:repeat(4, 1fr);
grid-gap:1em;
grid-template-areas:
"main main main panel"
"footer footer footer footer";
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
h1 {
background-color:#ffaec9;
border:1px solid #ffaec9;
font-size:1em;
line-height:1;
padding:0.5em 1em 0.2em;
2018-01-21 05:11:55 +00:00
}
hr {
border:none;
border-top:1px solid #ffaec9;
margin:1.5em 0;
}
2020-03-19 05:20:26 +00:00
input[type="email"],
input[type="password"],
input[type="text"],
select,
textarea {
background-color:#f0f0f0;
border:1px solid #ffaec9;
2020-03-19 05:20:26 +00:00
font-size:1em;
margin:0;
padding:0;
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
mark { background-color:#fff200; }
2020-03-19 05:20:26 +00:00
pre,code { tab-size:4; }
2018-01-21 05:11:55 +00:00
2020-03-19 05:20:26 +00:00
.Button {
background-color:#ffaec9;
border:1px solid #fff200;
font-size:1em;
padding:0.8em 1em;
}
2020-03-19 05:20:26 +00:00
.Button:hover,
.BigButton:hover {
border-color:#fff200;
border-radius:0;
color:#ed1c24;
}
2020-03-19 05:20:26 +00:00
.BigButton {
border-left:none;
border-right:none;
}
2020-03-19 05:20:26 +00:00
a.NewDiscussion::before {
content:"☞ ";
}
2020-03-19 05:20:26 +00:00
a.NewDiscussion::after {
content:" ☜";
}
/*
2020-03-19 05:20:26 +00:00
Hackx - - - - - - - - - - - - ^HACKX
*/
2020-03-19 05:20:26 +00:00
/* Hides that pointless gender enquiry and display */
li.Gender { display:none !important; }
2020-03-19 05:20:26 +00:00
/* Hides forum title in categories list, because I have it
in the header*/
main > h1.H.HomepageTitle { display:none; }
2020-03-19 05:20:26 +00:00
/* Hides extraneous date on categories page */
span.MItem.LastCommentDate { display:none; }
2020-03-19 05:20:26 +00:00
/* All pages - - - - - - - - - - - ^LAYOUT
2020-03-19 05:20:26 +00:00
Header - - - - - - - - - - - - ^HEADER
*/
2020-03-19 05:20:26 +00:00
header {
background-color:#ffaec9;
border-bottom:1px solid #fff200;
box-shadow:0 1px 4px rgba(0,0,0,0.3);
padding:0 1em;
position:fixed;
top:0;
width:100%;
z-index:11;
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
header a:visited {
color:blue;
text-decoration:underline dashed;
}
2020-03-19 05:20:26 +00:00
header > h1 {
border:none;
font-size:1em;
margin-top:0.4em;
padding:0;
}
2020-03-19 05:20:26 +00:00
header > img {
float:left;
2020-03-19 05:20:26 +00:00
height:3em;
margin-left:-0.3em;
margin-right:0.5em;
margin-top:0.1em;
}
2020-03-19 05:20:26 +00:00
header > nav {
font-size:0.7em;
}
2020-03-19 05:20:26 +00:00
header > nav > ul li {
display:inline;
}
2020-03-19 05:20:26 +00:00
/*
Main content area - - - - - - - - - ^MAIN
*/
2020-03-19 05:20:26 +00:00
main {
grid-area:main;
margin-top:4em;
padding:0 1em;
}
2020-03-19 05:20:26 +00:00
main > nav > p {
font-size:0.7em;
margin:0;
}
2020-03-19 05:20:26 +00:00
/*
Panel on the right - - - - - - - - - ^PANEL
*/
2020-03-19 05:20:26 +00:00
aside {
border:1px solid #ffaec9;
grid-area:panel;
margin-right:1em;
margin-top:8em;
}
2020-03-19 05:20:26 +00:00
/* Little numbers */
aside .Aside {
float:right;
}
2020-03-19 05:20:26 +00:00
aside .Count {
background-color:#ffaec9;
border-radius:0;
text-decoration:none;
font-size:0.7em;
margin-left:0.5em;
padding:0.2em 0.5em;
}
2020-03-19 05:20:26 +00:00
aside #Panel .FilterMenu li,
aside .PanelInfo li,
aside #Panel .FilterMenu li:first-child,
aside .PanelInfo li:first-child {
border:none;
}
2020-03-19 05:20:26 +00:00
aside .TagCloud li {
border:none;
}
2020-03-19 05:20:26 +00:00
/* Search area */
aside form > div {
background-color:#ffaec9;
}
2020-03-19 05:20:26 +00:00
aside input#Form_Search,
aside input#Form_Go {
padding:0.8em 1em;
}
aside input#Form_Search {
border:0;
box-shadow:inset 0 1px 4px rgba(0,0,0,0.3);
width:100%;
}
2020-03-19 05:20:26 +00:00
aside input#Form_Go {
display:none;
/*border-color:#ffaec9;
font-size:HACK;*/
}
2020-03-19 05:20:26 +00:00
aside .BoxFilter.BoxDiscussionFilter,
aside .Box.BoxCategories,
aside .Box {
padding: 0.5em 1em;
}
/*
2020-03-19 05:20:26 +00:00
Footer - - - - - - - - - - - - ^FOOT
*/
2020-03-19 05:20:26 +00:00
footer {
border-top:1px solid #ffaec9;
font-size:0.7em;
grid-area:footer;
text-align:center;
}
2020-03-19 05:20:26 +00:00
footer > ul li {
display:inline;
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
footer > ul li::before {
content:"| ";
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
footer > ul li:first-child::before {
content:"";
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
/* Pages - - - - - - - - - - - - ^PAGES
2020-03-19 05:20:26 +00:00
Categories / landing page - - - - - - - ^CATS
*/
2020-03-19 05:20:26 +00:00
main ul.CategoryList a.Title {
font-size:1em;
}
2020-03-19 05:20:26 +00:00
/* Overwrite red categories having grey bg */
main ul.CategoryList .Item.Read {
background:none;
}
2018-01-10 07:55:12 +00:00
2020-03-19 05:20:26 +00:00
main ul.CategoryList .Item.Unread .Title::after{
content:url("new.gif");
padding-left:0.5em;
}
2020-03-19 05:20:26 +00:00
main ul.CategoryList li.Item {
padding:1em;
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
main ul.CategoryList li.Depth2 {
border-left-style:dashed;
margin-left:+1em;
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
/*
Post threads- - - - - - - - - - - ^POSTS
*/
2020-03-19 05:20:26 +00:00
/* Thread title */
div.Discussion .PageTitle h1 {
background-color:#fff200;
font-size:1em;
margin-bottom:-1px;
margin-top:0.5em;
}
2020-03-19 05:20:26 +00:00
/* Posts */
main .Item,
main .DataList .Item/*, .NarrowList .Item*/ {
border:1px solid #ffaec9;
font-size:1em;
padding:0;
margin-top:-1px;
}
2020-03-19 05:20:26 +00:00
/* Author info. */
div.Item-Header.DiscussionHeader,
div.Item-Header.CommentHeader {
background-color:#ffaec9;
height:3em;
margin:0;
}
2020-03-19 05:20:26 +00:00
.Item .Author a {
font-size:1em;
}
2020-03-19 05:20:26 +00:00
/* Author avatar */
.Author .PhotoWrap {
margin:0;
margin-right:1em;
}
2020-03-19 05:20:26 +00:00
.ProfilePhoto,
.ProfilePhotoMedium {
height:3em;
width:3em;
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
/* Post date, etc. line */
.Meta.DiscussionMeta {
margin-top:-0.5em;
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
h2.CommentHeading,
span.Back {
display:none;
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
/* Post content */
main div.Item-Body {
padding:1em;
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
blockquote.Quote,
blockquote.UserQuote {
padding:1em;
border: 1px solid #ffaec9;
border-left: 3px double #ffaec9;
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
/* Post entry field */
textarea.TextBox {
min-height:10em !important;
padding:1em;
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
.textarea-autosize {
resize:vertical !important;
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
/*
Search results page - - - - - - - - - ^SEARCH
*/
2020-03-19 05:20:26 +00:00
/*
Profile - - - - - - - - - - - - ^PROFILE
*/
2020-03-19 05:20:26 +00:00
.ProfilePhotoLarge {
width:100%;
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
/*
Login pop-up - - - - - - - - - - ^LOGIN
*/
2020-03-19 05:20:26 +00:00
.MultipleEntryMethods .Methods {
padding:1em;
2017-06-02 14:44:31 +00:00
}
2017-06-02 14:44:31 +00:00
2020-03-19 05:20:26 +00:00
a.Close {
margin:0.5em;
2017-06-02 14:44:31 +00:00
}
2020-03-19 05:20:26 +00:00
.Border {
background:rgba(82, 82, 82, 0.7);
padding:0;
}
2020-03-19 05:20:26 +00:00
/*input#Form_SignIn {
background-color:;
border:;
color:;
font-size:;
}*/