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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<alias binding="same"> | |
<family>Arial</family> | |
<family>Helvetica</family> | |
<family>Lucida Grande</family> | |
<family>Tahoma</family> | |
<family>Verdana</family> | |
<family>Ubuntu</family> |
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
// Вот такая можно, что бы не дублировать preventDefault | |
if(e.type == 'keydown') { | |
var prevent = true; | |
switch(e.which) { | |
case 33 : | |
current--; | |
break; | |
... | |
default: |
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
file=$(shell rpm -q --specfile npm.spec --qf 'npm-%{version}.tgz') | |
rpm: $(file) | |
rpmbuild -ba npm.spec \ | |
--define '_sourcedir $(CURDIR)' \ | |
--define '_builddir $(CURDIR)' \ | |
--define '_srcrpmdir $(CURDIR)' \ | |
--define '_rpmdir $(CURDIR)' | |
mv noarch/* . | |
rm -rf noarch package |
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
/** | |
* DD | |
*/ | |
body { | |
padding: 3em; | |
background: white; | |
color: black; | |
} |
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: #dda1ee } |
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
/** | |
* 3 to 2 col | |
*/ | |
html { | |
min-width: 800px; | |
} | |
.main { | |
margin: 0 150px 0 200px; | |
height: 500px; |
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
/** | |
* Magic button | |
*/ | |
html { | |
color: black; | |
padding: 5em 0 0 20em; | |
background: | |
radial-gradient(100% 50%, circle, transparent 20%, rgba(255,255,255,.3) 21%, rgba(255,255,255,.3) 34%, transparent 35%, transparent), | |
radial-gradient(0% 50%, circle, transparent 20%, rgba(255,255,255,.3) 21%, rgba(255,255,255,.3) 34%, transparent 35%, transparent) 0 -50px; | |
background-color: slategray; |
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
/** | |
* Candy | |
*/ | |
html { | |
background-color: silver; | |
background-image: linear-gradient(45deg, gray 25%, transparent 25%, transparent 75%, gray 75%, gray), | |
linear-gradient(45deg, gray 26%, transparent 26%, transparent 75%, gray 75%, gray); | |
background-size:20px 20px; | |
background-position:0 0, 10px 10px; | |
min-height: 100%; |
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
/** | |
* Candy 2 | |
*/ | |
html { | |
background-color: #eee; | |
background-image: linear-gradient(45deg, silver 25%, transparent 25%, transparent 75%, silver 75%, silver), | |
linear-gradient(45deg, silver 26%, transparent 26%, transparent 75%, silver 75%, silver); | |
background-size:20px 20px; | |
background-position:0 0, 10px 10px; | |
min-height: 100%; |
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
/** | |
* Green button | |
*/ | |
body { | |
padding-top: 100px; | |
font: 24px/1.2 'Arial', sans-serif; | |
} | |
.button { | |
position: absolute; |
OlderNewer