| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307 |
- body {
- background-color: #942A57;
- margin: 0 auto;
- max-width: 760px;
- }
- html, body {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- }
- *, *:before, *:after {
- -webkit-box-sizing: inherit;
- -moz-box-sizing: inherit;
- box-sizing: inherit;
- }
- body, input, button {
- font-family: Georgia, Helvetica;
- font-size: 17px;
- color: #ecf0f1;
- }
- h1 {
- text-align: center;
- background-color: #AC5C7E;
- margin-top: 20px;
- margin-bottom: 0;
- padding: 10px;
- }
- h3 {
- background-color: rgba(255, 255, 255, 0.2);
- border-bottom: 5px solid #A13462;
- text-align: center;
- padding: 10px;
- }
- h3 div {
- margin-bottom: 10px;
- }
- .tagline {
- position: relative;
- margin-top: 0;
- }
- .tagline-text {
- vertical-align: middle;
- }
- .__slackin {
- float: right;
- margin-left: 10px;
- vertical-align: middle;
- }
- .promo {
- margin-bottom: 0;
- font-style: italic;
- padding: 10px;
- background-color: #ff4020;
- border-bottom: 5px solid #c00;
- }
- a {
- font-weight: bold;
- }
- a,
- a:hover {
- color: #ecf0f1;
- }
- pre {
- white-space: pre-wrap;
- }
- pre code {
- color: #fff;
- font-size: 14px;
- line-height: 1.3;
- }
- label {
- display: block;
- margin-bottom: 15px;
- }
- #superSecret {
- opacity: 0.01;
- background-color: rgb(0,0,0,0.3);
- height: 60px;
- width: 100%;
- transition: 0.2s;
- object-fit: cover;
- }
- #superSecret:hover {
- animation: superSUPERSecret;
- animation-duration: 0.5s;
- animation-iteration-count: infinite;
- opacity: 0.8;
- background-color: rgb(0,0,0,0.1);
- }
- @keyframes superSUPERSecret {
- 0%{transform: rotate(3deg)}
- 50%{transform: rotate(-3deg)}
- 100%{transform: rotate(3deg)}
- }
- sub {
- display: block;
- text-align: right;
- margin-top: -10px;
- font-size: 11px;
- font-style: italic;
- }
- ul {
- margin: 0;
- padding: 0;
- }
- .parent {
- background-color: rgba(255, 255, 255, 0.2);
- margin: 50px 0;
- padding: 20px;
- }
- input {
- border: none;
- outline: none;
- background-color: #ecf0f1;
- padding: 10px;
- color: #942A57;
- border: 0;
- margin: 5px 0;
- display: block;
- width: 100%;
- }
- button {
- background-color: #ecf0f1;
- color: #942A57;
- border: 0;
- padding: 18px 12px;
- margin-left: 6px;
- cursor: pointer;
- outline: none;
- }
- button:hover {
- background-color: #e74c3c;
- color: #ecf0f1;
- }
- .gh-fork {
- position: fixed;
- top: 0;
- right: 0;
- border: 0;
- }
- /* dragula-specific example page styles */
- .wrapper {
- display: table;
- }
- .container {
- display: table-cell;
- background-color: rgba(255, 255, 255, 0.2);
- width: 50%;
- }
- .container:nth-child(odd) {
- background-color: rgba(0, 0, 0, 0.2);
- }
- /*
- * note that styling gu-mirror directly is a bad practice because it's too generic.
- * you're better off giving the draggable elements a unique class and styling that directly!
- */
- .container > div,
- .gu-mirror {
- margin: 10px;
- padding: 10px;
- background-color: rgba(0, 0, 0, 0.2);
- transition: opacity 0.4s ease-in-out;
- }
- .container > div {
- cursor: move;
- cursor: grab;
- cursor: -moz-grab;
- cursor: -webkit-grab;
- }
- .gu-mirror {
- cursor: grabbing;
- cursor: -moz-grabbing;
- cursor: -webkit-grabbing;
- }
- .container .ex-moved {
- background-color: #e74c3c;
- }
- .container.ex-over {
- background-color: rgba(255, 255, 255, 0.3);
- }
- #left-lovehandles > div,
- #right-lovehandles > div {
- cursor: initial;
- }
- .handle {
- padding: 0 5px;
- margin-right: 5px;
- background-color: rgba(0, 0, 0, 0.4);
- cursor: move;
- }
- .image-thing {
- margin: 20px 0;
- display: block;
- text-align: center;
- }
- .slack-join {
- position: absolute;
- font-weight: normal;
- font-size: 14px;
- right: 10px;
- top: 50%;
- margin-top: -8px;
- line-height: 16px;
- }
- /* Carbon */
- #carbonads {
- position: absolute;
- display: block;
- overflow: hidden;
- margin-left: -180px;
- padding: 1em;
- max-width: calc(130px + 2em);
- background-color: #aa5579;
- text-align: center;
- font-size: 12px;
- font-family: Verdana, "Helvetica Neue", Helvetica, sans-serif;
- line-height: 1.5;
- }
- #carbonads a {
- color: inherit;
- text-decoration: none;
- font-weight: 400;
- transition: color .2s ease-in-out;
- }
- #carbonads a:hover {
- color: #221c3b;
- }
- #carbonads span {
- display: block;
- overflow: hidden;
- }
- .carbon-img {
- display: block;
- margin: 0 auto 1em;
- }
- .carbon-text {
- display: block;
- margin-bottom: 1em;
- }
- .carbon-poweredby {
- display: block;
- text-transform: uppercase;
- letter-spacing: 1px;
- font-size: 9px;
- }
- @media only screen and (min-width: 320px) and (max-width: 960px) {
- #carbonads {
- position: relative;
- float: none;
- margin: 0 auto -2em;
- max-width: 330px;
- }
- #carbonads span {
- position: relative;
- }
- #carbonads > span {
- max-width: none;
- }
- .carbon-img {
- float: left;
- margin: 0 1em 0 0;
- }
- .carbon-text {
- float: left;
- margin-bottom: 0;
- max-width: calc(100% - 130px - 1em);
- text-align: left;
- }
- .carbon-poweredby {
- position: absolute;
- right: 0;
- bottom: 0;
- display: block;
- }
- }
|