mirror of
https://github.com/SophiaAtkinson/steamwidgets-web.git
synced 2025-06-27 01:57:40 -07:00
Initial commit
This commit is contained in:
159
public/css/app.css
Normal file
159
public/css/app.css
Normal file
@ -0,0 +1,159 @@
|
||||
/*
|
||||
app.scss
|
||||
*/
|
||||
|
||||
html, body {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1088px) {
|
||||
.navbar-start {
|
||||
flex-grow: 1;
|
||||
justify-content: center;
|
||||
transform: translate(11%, -0%)
|
||||
}
|
||||
}
|
||||
|
||||
.is-font-title {
|
||||
font-family: 'Helvetica', Verdana, Arial, sans-serif;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.content-section {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.content-centered {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.content-top-margin {
|
||||
margin-top: 90px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1088px) {
|
||||
.content-top-margin {
|
||||
margin-top: 58px;
|
||||
}
|
||||
}
|
||||
|
||||
.content-section h1 {
|
||||
font-size: 2.0em;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.content-section h2 {
|
||||
font-size: 1.5em;
|
||||
color: rgb(100, 100, 100);
|
||||
}
|
||||
|
||||
.content-section h3 {
|
||||
font-size: 1.2em;
|
||||
color: rgb(100, 100, 100);
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.content-section p {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-section a {
|
||||
color: #3273dc;
|
||||
}
|
||||
|
||||
.content-section a:hover {
|
||||
color: #3273dc;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.content-section pre {
|
||||
padding: unset;
|
||||
margin-top: -15px;
|
||||
margin-bottom: -61px;
|
||||
background-color: unset;
|
||||
}
|
||||
|
||||
.content-section code {
|
||||
background-color: rgb(230, 230, 230);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.content-section ul {
|
||||
list-style: square;
|
||||
}
|
||||
|
||||
.content-section li {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.content-section table {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.content-section tbody {
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.content-section td {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.tr-colored {
|
||||
background-color: rgb(200, 200, 200);
|
||||
}
|
||||
|
||||
.content-section hr {
|
||||
background-color: rgb(200, 200, 200);
|
||||
}
|
||||
|
||||
.scroll-to-top {
|
||||
position: fixed;
|
||||
z-index: 3;
|
||||
bottom: 12px;
|
||||
right: 12px;
|
||||
}
|
||||
|
||||
.scroll-to-top-inner {
|
||||
background-color: rgb(100, 100, 100);
|
||||
border-radius: 50%;
|
||||
padding: 12px;
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
||||
}
|
||||
|
||||
.scroll-to-top-inner a {
|
||||
color: rgb(200, 200, 200);
|
||||
}
|
||||
|
||||
.scroll-to-top-inner a:hover {
|
||||
color: rgb(200, 200, 200);
|
||||
}
|
||||
|
||||
.footer {
|
||||
width: 100%;
|
||||
color: rgb(100, 100, 100);
|
||||
background-color: rgb(235, 235, 235);
|
||||
padding: 1rem 1.5rem 1rem;
|
||||
}
|
||||
|
||||
.footer-frame {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.footer-content {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.footer-content a {
|
||||
color: rgb(130, 130, 130);
|
||||
}
|
||||
|
||||
.footer-content a:hover {
|
||||
color: rgb(150, 150, 150);
|
||||
text-decoration: none;
|
||||
}
|
11406
public/css/bulma.css
vendored
Normal file
11406
public/css/bulma.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
89
public/css/steamcards/v1/steam_app.css
Normal file
89
public/css/steamcards/v1/steam_app.css
Normal file
@ -0,0 +1,89 @@
|
||||
.steam-app {
|
||||
position: relative;
|
||||
max-width: 360px;
|
||||
background-color: rgb(22, 32, 45);
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
||||
border-radius: 25px;
|
||||
margin-top: 20px;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.steam-app-image {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 176px;
|
||||
border-top-left-radius: 25px;
|
||||
border-top-right-radius: 25px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.steam-app-infos {
|
||||
position: relative;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.steam-app-title {
|
||||
width: 100%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.steam-app-title-name {
|
||||
display: inline-block;
|
||||
color: rgb(220, 220, 220);
|
||||
font-size: 1.1em;
|
||||
font-family: Verdana, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.steam-app-title-count {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
top: 5px;
|
||||
color: rgb(55, 230, 111);
|
||||
font-size: 0.8em;
|
||||
font-family: Verdana, Arial, sans-serif;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.steam-app-description {
|
||||
width: 100%;
|
||||
color: rgb(150, 150, 150);
|
||||
font-size: 0.8em;
|
||||
font-family: Verdana, Arial, sans-serif;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.steam-app-footer {
|
||||
width: 100%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.steam-app-footer-author {
|
||||
display: inline-block;
|
||||
color: rgb(200, 200, 200);
|
||||
font-family: Verdana, Arial, sans-serif;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.steam-app-footer-button {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.steam-app-footer-button a {
|
||||
color: #D2E885;
|
||||
background: linear-gradient(to bottom, #a4d007 5%, #536904 95%);
|
||||
border-radius: 5px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
text-decoration: none;
|
||||
font-size: 0.9em;
|
||||
font-family: 'Motiva Sans', sans-serif;
|
||||
}
|
||||
|
||||
.steam-app-footer-button a:hover {
|
||||
color: rgb(250, 250, 250);
|
||||
}
|
103
public/css/steamcards/v1/steam_server.css
Normal file
103
public/css/steamcards/v1/steam_server.css
Normal file
@ -0,0 +1,103 @@
|
||||
.steam-server {
|
||||
position: relative;
|
||||
max-width: 360px;
|
||||
background-color: rgb(22, 32, 45);
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
||||
border-radius: 25px;
|
||||
margin-top: 20px;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.steam-server-image {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 176px;
|
||||
border-top-left-radius: 25px;
|
||||
border-top-right-radius: 25px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.steam-server-infos {
|
||||
position: relative;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.steam-server-title {
|
||||
}
|
||||
|
||||
.steam-server-title-left {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.steam-server-title-left-addr {
|
||||
color: rgb(200, 200, 200);
|
||||
}
|
||||
|
||||
.steam-server-title-left-name {
|
||||
color: rgb(150, 150, 150);
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.steam-server-title-right {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.steam-server-title-right-count {
|
||||
color: rgb(130, 130, 130);
|
||||
font-size: 0.7em;
|
||||
}
|
||||
|
||||
.steam-server-title-right-bots {
|
||||
color: rgb(130, 130, 130);
|
||||
font-size: 0.7em;
|
||||
}
|
||||
|
||||
.steam-server-gameinfo {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.steam-server-gameinfo-item {
|
||||
color: rgb(150, 150, 150);
|
||||
font-size: 0.65em;
|
||||
}
|
||||
|
||||
.steam-server-gameinfo-item-green {
|
||||
color: rgb(85, 190, 111);
|
||||
}
|
||||
|
||||
.steam-server-gameinfo-item-red {
|
||||
color: rgb(179, 115, 115);
|
||||
}
|
||||
|
||||
.steam-server-action {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
float: right;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.steam-server-action a {
|
||||
color: #D2E885;
|
||||
background: linear-gradient(to bottom, #a4d007 5%, #536904 95%);
|
||||
border-radius: 5px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
text-decoration: none;
|
||||
font-size: 0.9em;
|
||||
font-family: 'Motiva Sans', sans-serif;
|
||||
}
|
||||
|
||||
.steam-server-action a:hover {
|
||||
color: rgb(250, 250, 250);
|
||||
}
|
97
public/css/steamcards/v1/steam_user.css
Normal file
97
public/css/steamcards/v1/steam_user.css
Normal file
@ -0,0 +1,97 @@
|
||||
.steam-user {
|
||||
position: relative;
|
||||
max-width: 360px;
|
||||
background-color: rgb(22, 32, 45);
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
||||
border-radius: 25px;
|
||||
margin-top: 20px;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.steam-user-image {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 176px;
|
||||
border-top-left-radius: 25px;
|
||||
border-top-right-radius: 25px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.steam-user-infos {
|
||||
position: relative;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.steam-user-infos-left {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.steam-user-infos-left-avatar {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.steam-user-infos-left-avatar img {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.steam-user-infos-left-text {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
top: -16px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.steam-user-infos-left-text-name {
|
||||
color: rgb(200, 200, 200);
|
||||
}
|
||||
|
||||
.steam-user-infos-left-text-since {
|
||||
color: rgb(150, 150, 150);
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.steam-user-infos-right {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin-right: 5px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.steam-user-infos-right-online {
|
||||
position: relative;
|
||||
top: 11px;
|
||||
color: rgb(100, 100, 100);
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.steam-user-infos-right-online-green {
|
||||
color: rgb(85, 190, 111);
|
||||
}
|
||||
|
||||
.steam-user-infos-right-view {
|
||||
position: relative;
|
||||
top: 15px;
|
||||
}
|
||||
|
||||
.steam-user-infos-right-view a {
|
||||
color: #D2E885;
|
||||
background: linear-gradient(to bottom, #a4d007 5%, #536904 95%);
|
||||
border-radius: 5px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
text-decoration: none;
|
||||
font-size: 0.9em;
|
||||
font-family: 'Motiva Sans', sans-serif;
|
||||
}
|
||||
|
||||
.steam-user-infos-right-view a:hover {
|
||||
color: rgb(250, 250, 250);
|
||||
}
|
Reference in New Issue
Block a user