123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- #demo-window {
- background-color: #f0ede2;
- margin-bottom: 16px;
- border-radius: 5px;
- overflow: hidden;
- }
- .animated-transition {
- transition: all 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
- }
- /* Slide view. */
- #demo-container {
- transform: translateX(0);
- width: 500%;
- }
- .demo-wrapper {
- width: 20%;
- float: left;
- }
- /* Expanded view. */
- #demo-container.expanded {
- width: 100%;
- }
- #demo-container.expanded .demo-wrapper {
- width: 100%;
- }
- /* Styles for the demos. */
- .demo:after {
- content: "";
- display: table;
- clear: both;
- }
- .demo {
- padding: 16px;
- }
- .demo-col {
- box-sizing: border-box;
- width: 100%;
- height: 100%;
- float: left;
- }
- .demo-ttyshot {
- text-align: center;
- }
- .demo-ttyshot .ttyshot {
- text-align: left;
- }
- .demo-description {
- padding: 16px 16px 0;
- }
- .demo-ttyshot {
- padding-top: 16px;
- }
- @media screen and (min-width: 1024px) {
- .demo-ttyshot {
- width: 60%;
- }
- .demo-description {
- width: 40%;
- }
- .animated-transition {
- transition-duration: 400ms;
- }
- }
- .demo-description h2 {
- margin-top: 0;
- }
- .demo-col p {
- margin-top: 16px;
- margin-bottom: 0;
- }
- ul#demo-switcher {
- display: inline;
- margin: 0;
- }
- ul#demo-switcher > li {
- list-style: none;
- display: inline-block;
- }
- ul#demo-switcher > li > a {
- color: black;
- padding: 4px 14px;
- }
- ul#demo-switcher > li > a.current, ul#demo-switcher > li > a.current:hover {
- color: white;
- background-color: black;
- }
- ul#demo-switcher > li > a:hover {
- background-color: #ccc;
- cursor: pointer;
- }
- /* Styles for the body layout. */
- @media screen and (min-width: 800px) {
- #columns {
- display: flex;
- }
- .column {
- flex: 1;
- }
- .column:first-child {
- margin-right: 24px;
- }
- }
- /* Overriding default styles */
- .article h1 {
- border-bottom: none;
- padding-bottom: 0;
- }
- .article li > p {
- margin-top: 0.5em;
- margin-bottom: 0.5em;
- }
- /**
- * Dark theme.
- */
- .dark #demo-window {
- background-color: #101818;
- }
- .dark ul#demo-switcher > li > a {
- color: #eee;
- }
- .dark ul#demo-switcher > li > a.current, .dark ul#demo-switcher > li > a.current:hover {
- color: black;
- background-color: #eee;
- }
- .dark ul#demo-switcher > li > a:hover {
- background-color: #444;
- }
|