mirror of
https://github.com/SophiaAtkinson/steamwidgets-web.git
synced 2025-06-27 08:07:41 -07:00
New widget: Steam Workshop
This commit is contained in:
133
public/css/steamwidgets/v1/steam_workshop.css
Normal file
133
public/css/steamwidgets/v1/steam_workshop.css
Normal file
@ -0,0 +1,133 @@
|
||||
.steam-workshop {
|
||||
position: relative;
|
||||
min-width: 360px;
|
||||
max-width: 555px;
|
||||
height: 205px;
|
||||
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-workshop-preview {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
min-width: 205px;
|
||||
height: 205px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
border-top-left-radius: 25px;
|
||||
border-bottom-left-radius: 25px;
|
||||
}
|
||||
|
||||
.steam-workshop-info {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 55%;
|
||||
margin-left: 20px;
|
||||
top: -20px;
|
||||
}
|
||||
|
||||
.steam-workshop-info-title {
|
||||
margin-bottom: 10px;
|
||||
color: rgb(220, 220, 220);
|
||||
font-size: 1.1em;
|
||||
font-family: Verdana, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.steam-workshop-info-description {
|
||||
margin-bottom: 10px;
|
||||
color: rgb(150, 150, 150);
|
||||
font-size: 0.8em;
|
||||
font-family: Verdana, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.steam-workshop-info-stats {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.steam-workshop-info-stats-item {
|
||||
}
|
||||
|
||||
.steam-workshop-info-stats-item-count {
|
||||
display: inline-block;
|
||||
min-width: 50px;
|
||||
color: rgb(59, 135, 185);
|
||||
}
|
||||
|
||||
.steam-workshop-info-stats-item-label {
|
||||
display: inline-block;
|
||||
text-transform: uppercase;
|
||||
color: rgb(100, 100, 100);
|
||||
}
|
||||
|
||||
.steam-workshop-info-footer {
|
||||
}
|
||||
|
||||
.steam-workshop-info-footer-author {
|
||||
display: inline-block;
|
||||
width: 69%;
|
||||
}
|
||||
|
||||
.steam-workshop-info-footer-author a {
|
||||
color: rgb(50, 115, 220);
|
||||
}
|
||||
|
||||
.steam-workshop-info-footer-author a:hover {
|
||||
color: rgb(50, 115, 220);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.steam-workshop-info-footer-action {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.steam-workshop-info-footer-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-workshop-info-footer-action a:hover {
|
||||
color: rgb(250, 250, 250);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 465px) {
|
||||
.steam-workshop {
|
||||
min-width: unset;
|
||||
width: 350px;
|
||||
min-height: 205px;
|
||||
height: unset;
|
||||
}
|
||||
|
||||
.steam-workshop-preview {
|
||||
min-width: unset;
|
||||
width: 350px;
|
||||
height: 350px;
|
||||
border-top-right-radius: 25px;
|
||||
border-bottom-left-radius: unset;
|
||||
}
|
||||
|
||||
.steam-workshop-info {
|
||||
width: 100%;
|
||||
height: 195px;
|
||||
top: unset;
|
||||
}
|
||||
|
||||
.steam-workshop-info-title {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.steam-workshop-info-footer-author {
|
||||
width: 64%;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user