Created
January 30, 2019 23:07
-
-
Save jackdpage/df3f47971bef16c9829f16893ccd117e to your computer and use it in GitHub Desktop.
css for plex-news webpage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background-color: #1a2228; | |
color: #ddd; | |
font-family: Roboto, sans-serif; | |
margin: 0; | |
} | |
#container { | |
background-color: #44545e; | |
margin: 0 auto; | |
min-width: 600px; | |
width: 50%; | |
} | |
header { | |
background-color: #2d383f; | |
padding: 1%; | |
} | |
#content { | |
padding: 1%; | |
} | |
h1, h2 { | |
color: #f9be03; | |
text-transform: uppercase; | |
} | |
.entry-container { | |
} | |
.entry-item { | |
background-color: #2d383f; | |
margin: 0 0 20px 0; | |
} | |
.entry-item img { | |
display: inline-block; | |
width: 20%; | |
} | |
.entry-item .text { | |
display: inline-block; | |
margin: 15px; | |
vertical-align: top; | |
width: 70%; | |
} | |
.entry-item .text h4 { | |
margin: 0 auto 10px auto; | |
} | |
.ratings { | |
font-size: 9pt; | |
margin: 10px 0; | |
text-transform: uppercase; | |
} | |
.metascore { | |
display: inline-block; | |
font-size: 13pt; | |
font-weight: bold; | |
height: 28px; | |
line-height: 28px; | |
text-align: center; | |
vertical-align: bottom; | |
width: 28px; | |
} | |
.favourable { | |
background-color: #66cc33; | |
} | |
.unfavourable { | |
background-color: #ff0000; | |
} | |
.mixed { | |
background-color: #ffcc33; | |
} | |
.tag { | |
background-color: #999; | |
border-radius: 2px; | |
padding: 3px; | |
} | |
.tag-blu { | |
background-color: #0095d5; | |
} | |
.tag-dts { | |
background-color: #ad8003; | |
} | |
.tag-thd { | |
background-color: #0067b4; | |
} | |
.tag-4k { | |
background-color: #000; | |
color: #bbb; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment