A fully fonctional and good-looking linux for less than 256mb of ram
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
/* | |
Ratings Stars | |
(with as little code as possible) | |
*/ | |
.rating { | |
unicode-bidi: bidi-override; | |
direction: rtl; | |
text-align: center; | |
} | |
.rating > span { |
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
/** | |
* half-star rating with css & SVG | |
*/ | |
.stars { | |
height: 4rem; | |
width: 20rem; |
A Pen by Andriy Shabat on CodePen.
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
|
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
ymaps.ready(function () { | |
var myMap = new ymaps.Map('map', { | |
center: [55.751574, 37.573856], | |
zoom: 9 | |
}, { | |
searchControlProvider: 'yandex#search' | |
}), | |
// Создаём макет содержимого. | |
MyIconContentLayout = ymaps.templateLayoutFactory.createClass( |
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
/** | |
* Реализуйте функцию sendPassword (Peerson hashing8) | |
* sendPassword('stalker72') => 20 | |
* sendPassword('118') => -1 | |
* | |
* | |
*/ | |
function sendPassword(password) { | |
if (password.length < 8) { |
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
/** | |
* Cards | |
*/ | |
body { | |
background-color: #000; | |
} | |
.card { | |
vertical-align:top; | |
background-color: #fff; | |
border-radius: 10px; |
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
.ios-toggle { | |
box-sizing: border-box; | |
display: inline-block; | |
font-size: 15px; | |
width: 15em; | |
} | |
.ios-toggle input, |
OlderNewer