Created
February 6, 2022 21:30
-
-
Save juanmboehme/2f3062c0e5eb8f266dd70d802097d212 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
/* | |
* Theme Name: Trophies | |
* Description: | |
* Theme URI: http://games.sharksgames.es/ | |
* Tested up to: 5.5 | |
* Requires PHP: 7.0 | |
* Author: Sharks Games | |
* Author URI: http://games.sharksgames.es/ | |
* Version: 1.0 | |
* License: GNU General Public License v2 or later | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
* Tags: two-columns, one-column, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, sticky-post, threaded-comments, translation-ready, microformats | |
* Text Domain: Trophies | |
*/ | |
$spacio:167; | |
@font-face { | |
font-family: 'Philosopher-Regular'; | |
src: url('fonts/Philosopher-Regular/Philosopher-Regular.eot'); | |
src: url('fonts/Philosopher-Regular/Philosopher-Regular.woff') format('woff'), url('fonts/Philosopher-Regular/Philosopher-Regular.ttf') format('truetype'), url('fonts/Philosopher-Regular/Philosopher-Regular.svg') format('svg'); | |
} | |
@font-face { | |
font-family: 'Philosopher-Bold'; | |
src: url('fonts/Philosopher-Bold/Philosopher-Bold.eot'); | |
src: url('fonts/Philosopher-Bold/Philosopher-Bold.woff') format('woff'), url('fonts/Philosopher-Bold/Philosopher-Bold.ttf') format('truetype'), url('fonts/Philosopher-Bold/Philosopher-Bold.svg') format('svg'); | |
} | |
body { | |
background: url(images/bg-body.jpg) repeat; | |
color: #727272; | |
font-family: Arial, Helvetica, sans-serif; | |
font-size: 14px; | |
line-height: 1; | |
margin: 0; | |
min-width: 960px; | |
padding: 0; | |
} | |
#background { | |
background: url(images/bg-page.jpg) no-repeat top center; | |
margin: 0; | |
padding: 0; | |
} | |
#header { | |
background: url(images/bg-header2.png) repeat-x top center; | |
margin: 0; | |
padding: 0; | |
> div { | |
background: url(images/bg-header.png) no-repeat top center; | |
margin: 0; | |
padding: 0; | |
> div { | |
height: 147px; | |
margin: 0 auto; | |
padding: 49px 0 0; | |
position: relative; | |
width: 960px; | |
z-index: 5; | |
} | |
} | |
a.logo { | |
display: block; | |
margin: 0 auto; | |
padding: 0; | |
width: 540px; | |
img { | |
border: 0; | |
display: block; | |
} | |
} | |
ul { | |
background: url(images/bg-navigation.png) no-repeat center center; | |
bottom: -107px; | |
height: 98px; | |
left: 30px; | |
margin: 0 auto; | |
overflow: hidden; | |
padding: 9px 17px; | |
position: absolute; | |
width: 865px; | |
li { | |
display: block; | |
float: left; | |
list-style: none; | |
margin: 0 5px; | |
padding: 0; | |
a { | |
background: url(images/menu.png) no-repeat; | |
color: #a8a8a8; | |
display: block; | |
font-family: 'Philosopher-Bold'; | |
font-size: 16px; | |
font-weight: normal; | |
height: 98px; | |
letter-spacing: 0.07em; | |
line-height: 104px; | |
margin: 0; | |
padding: 0; | |
text-align: center; | |
text-decoration: none; | |
text-transform: uppercase; | |
width: 163px; | |
&:hover{ | |
color: #fff; | |
} | |
} | |
&.selected a { | |
color: #fff; | |
} | |
#menu1 { | |
background-position: 167 - $spacio 0; | |
} | |
#menu2 { | |
background-position: (166 - ($spacio)*2px) 0; | |
} | |
#menu3 { | |
background-position: (166 - ($spacio)*3px) 0; | |
} | |
#menu4 { | |
background-position: (166 - ($spacio)*4px) 0; | |
} | |
#menu5 { | |
background-position: (166 - ($spacio)*5px) 0; | |
} | |
} | |
} | |
} |
This file contains hidden or 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
/* | |
* Theme Name: Trophies | |
* Description: | |
* Theme URI: http://games.sharksgames.es/ | |
* Tested up to: 5.5 | |
* Requires PHP: 7.0 | |
* Author: Sharks Games | |
* Author URI: http://games.sharksgames.es/ | |
* Version: 1.0 | |
* License: GNU General Public License v2 or later | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
* Tags: two-columns, one-column, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, sticky-post, threaded-comments, translation-ready, microformats | |
* Text Domain: Trophies | |
*/ | |
@font-face { | |
font-family: "Philosopher-Regular"; | |
src: url("fonts/Philosopher-Regular/Philosopher-Regular.eot"); | |
src: url("fonts/Philosopher-Regular/Philosopher-Regular.woff") format("woff"), url("fonts/Philosopher-Regular/Philosopher-Regular.ttf") format("truetype"), url("fonts/Philosopher-Regular/Philosopher-Regular.svg") format("svg"); | |
} | |
@font-face { | |
font-family: "Philosopher-Bold"; | |
src: url("fonts/Philosopher-Bold/Philosopher-Bold.eot"); | |
src: url("fonts/Philosopher-Bold/Philosopher-Bold.woff") format("woff"), url("fonts/Philosopher-Bold/Philosopher-Bold.ttf") format("truetype"), url("fonts/Philosopher-Bold/Philosopher-Bold.svg") format("svg"); | |
} | |
body { | |
background: url(images/bg-body.jpg) repeat; | |
color: #727272; | |
font-family: Arial, Helvetica, sans-serif; | |
font-size: 14px; | |
line-height: 1; | |
margin: 0; | |
min-width: 960px; | |
padding: 0; | |
} | |
#background { | |
background: url(images/bg-page.jpg) no-repeat top center; | |
margin: 0; | |
padding: 0; | |
} | |
#header { | |
background: url(images/bg-header2.png) repeat-x top center; | |
margin: 0; | |
padding: 0; | |
} | |
#header > div { | |
background: url(images/bg-header.png) no-repeat top center; | |
margin: 0; | |
padding: 0; | |
} | |
#header > div > div { | |
height: 147px; | |
margin: 0 auto; | |
padding: 49px 0 0; | |
position: relative; | |
width: 960px; | |
z-index: 5; | |
} | |
#header a.logo { | |
display: block; | |
margin: 0 auto; | |
padding: 0; | |
width: 540px; | |
} | |
#header a.logo img { | |
border: 0; | |
display: block; | |
} | |
#header ul { | |
background: url(images/bg-navigation.png) no-repeat center center; | |
bottom: -107px; | |
height: 98px; | |
left: 30px; | |
margin: 0 auto; | |
overflow: hidden; | |
padding: 9px 17px; | |
position: absolute; | |
width: 865px; | |
} | |
#header ul li { | |
display: block; | |
float: left; | |
list-style: none; | |
margin: 0 5px; | |
padding: 0; | |
} | |
#header ul li a { | |
background: url(images/menu.png) no-repeat; | |
color: #a8a8a8; | |
display: block; | |
font-family: "Philosopher-Bold"; | |
font-size: 16px; | |
font-weight: normal; | |
height: 98px; | |
letter-spacing: 0.07em; | |
line-height: 104px; | |
margin: 0; | |
padding: 0; | |
text-align: center; | |
text-decoration: none; | |
text-transform: uppercase; | |
width: 163px; | |
} | |
#header ul li a:hover { | |
color: #fff; | |
} | |
#header ul li.selected a { | |
color: #fff; | |
} | |
#header ul li #menu1 { | |
background-position: 0 0; | |
} | |
#header ul li #menu2 { | |
background-position: -168px 0; | |
} | |
#header ul li #menu3 { | |
background-position: -335px 0; | |
} | |
#header ul li #menu4 { | |
background-position: -502px 0; | |
} | |
#header ul li #menu5 { | |
background-position: -669px 0; | |
} |
This file contains hidden or 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
{ | |
"sass": { | |
"compiler": "dart-sass/1.32.12", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment