Skip to content

Instantly share code, notes, and snippets.

@kane-thornwyrd
Last active May 28, 2020 01:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kane-thornwyrd/36cc60d16c5f2a3d48ed89ba5df0620b to your computer and use it in GitHub Desktop.
Save kane-thornwyrd/36cc60d16c5f2a3d48ed89ba5df0620b to your computer and use it in GitHub Desktop.
I was annoyed by the look of this site, at the point I couldn't read properly because the font was effed up etc.
body {
background-color: #333;
font-family: sans-serif;
font-size: 14px;
box-sizing: border-box;
color: #555;
}
a {
color: #3b76fe;
}
a:hover {
text-decoration: underline;
}
div {
background: none !important;
}
pre {
font-family: "FiraCode Nerd Font Mono", "Hack Nerd Font Mono", "FuraCode Nerd Font Mono", "Fira Sans", "Inconsolata", monospace !important;
padding: 10px;
width: 100%;
}
#aspnetForm > div:nth-last-of-type(5) {
background-color: rgba(204, 204, 204, .5) !important;
width: 50%;
min-width: 500px;
margin: 1em auto 0 !important;
padding: 0;
border-top-right-radius: 10px;
border-top-left-radius: 10px;
display: flex;
justify-content: space-evenly;
align-items: center;
}
#aspnetForm > div:nth-last-of-type(5) a {
height: 3em;
display: flex;
transition: background-color 1s;
background-color: #ccc;
border-radius: 5px;
}
#aspnetForm > div:nth-last-of-type(5) a > * {
align-self: center;
text-align: center;
}
#aspnetForm > div:nth-last-of-type(5) a:hover {
background-color: #fff;
}
#aspnetForm > div:nth-last-of-type(5) a > img {
filter: invert() hue-rotate(180deg) saturation(400%) blur(1px);
padding: 5px;
}
#header {
background-color: #264ca4 !important;
box-shadow: 5px 0 2px rgba(0, 0, 0, .5);
position: relative;
}
#header a {
color: #000;
}
#contentAndSidebarContainer {
display: flex;
}
#navigation {
float: none;
background-color: #3b76fe !important;
}
#navigation ul {
border: none;
display: flex;
flex-wrap: nowrap;
justify-content: space-evenly;
padding: 0 10%;
}
#navigation ul li {
display: block;
text-transform: none;
font-variant: small-caps;
padding: 0;
width: calc(100%/6);
}
#navigation ul li a {
display: block;
width: 100%;
height: 2em;
line-height: 2em;
border-right: 1px solid #ccc;
transition: background-color .25s;
}
#navigation ul li:last-of-type a {
border-right-color: transparent;
}
#navigation ul li a:hover {
background-color: #6b98ff;
box-shadow: 0 0 5px rgba(0, 0, 0, .5);
border-left: 1px solid #ccc;
border-right: 1px solid #ccc !important;
text-decoration: none;
font-weight: 900;
z-index: 10;
position: relative;
}
#contentContainer {
background-color: #ccc !important;
padding: 2em !important;
width: 75%;
border-right: 1px solid #fff;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
}
#contentContainer .postcontainer a[href$=".png"] {
margin: 0 auto;
padding: 10px;
display: block;
background-color: #fff;
}
#sidepanel {
background-color: #ccc !important;
float: none;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
width: 25%;
}
div.widget h4 {
color: #555
}
.widgetzone a {
color: #fff;
}
.widgetzone a:hover {
color: #3b76fe;
}
.info {
background-color: #fff !important;
padding: 10px;
border-radius: 5px;
border-bottom-left-radius: 0;
color: #ccc;
position: absolute;
top: 0;
right: 0;
}
.post {
padding: 20px;
position: relative;
padding-top: 3em !important;
overflow: hidden;
}
@media only screen and (max-width: 982px) {
#contentAndSidebarContainer {
flex-direction: column;
}
#contentContainer {
width: 100%;
border-right: 0;
border-radius: 0;
padding: 0 !important;
box-shadow: 20px 0 20px rgba(0, 0, 0, .5);
z-index: 1;
}
#sidepanel {
background-color: #aaa !important;
float: none;
border-radius: 0;
width: 100%;
}
#sidepanel #widgetzone_be_WIDGET_ZONE {
display: flex;
flex-wrap: wrap;
}
#sidepanel #widgetzone_be_WIDGET_ZONE .widget {
width: 50%;
min-width: 50%;
margin: 0;
padding: 0;
}
.info {
top: 0;
right: 0;
border-radius: 0;
border-bottom-left-radius: 20px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment