mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-11-22 16:10:59 +00:00
102 lines
11 KiB
CSS
102 lines
11 KiB
CSS
|
/* Includes some default style for the starter application.
|
||
|
* This can be safely deleted to start fresh.
|
||
|
*/
|
||
|
|
||
|
/* Milligram v1.4.1 https://milligram.github.io
|
||
|
* Copyright (c) 2020 CJ Patoilo Licensed under the MIT license
|
||
|
*/
|
||
|
|
||
|
*,*:after,*:before{box-sizing:inherit}html{box-sizing:border-box;font-size:62.5%}body{color:#000000;font-family:'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;font-size:1.6em;font-weight:300;letter-spacing:.01em;line-height:1.6}blockquote{border-left:0.3rem solid #d1d1d1;margin-left:0;margin-right:0;padding:1rem 1.5rem}blockquote *:last-child{margin-bottom:0}.button,button,input[type='button'],input[type='reset'],input[type='submit']{background-color:#0069d9;border:0.1rem solid #0069d9;border-radius:.4rem;color:#fff;cursor:pointer;display:inline-block;font-size:1.1rem;font-weight:700;height:3.8rem;letter-spacing:.1rem;line-height:3.8rem;padding:0 3.0rem;text-align:center;text-decoration:none;text-transform:uppercase;white-space:nowrap}.button:focus,.button:hover,button:focus,button:hover,input[type='button']:focus,input[type='button']:hover,input[type='reset']:focus,input[type='reset']:hover,input[type='submit']:focus,input[type='submit']:hover{background-color:#606c76;border-color:#606c76;color:#fff;outline:0}.button[disabled],button[disabled],input[type='button'][disabled],input[type='reset'][disabled],input[type='submit'][disabled]{cursor:default;opacity:.5}.button[disabled]:focus,.button[disabled]:hover,button[disabled]:focus,button[disabled]:hover,input[type='button'][disabled]:focus,input[type='button'][disabled]:hover,input[type='reset'][disabled]:focus,input[type='reset'][disabled]:hover,input[type='submit'][disabled]:focus,input[type='submit'][disabled]:hover{background-color:#0069d9;border-color:#0069d9}.button.button-outline,button.button-outline,input[type='button'].button-outline,input[type='reset'].button-outline,input[type='submit'].button-outline{background-color:transparent;color:#0069d9}.button.button-outline:focus,.button.button-outline:hover,button.button-outline:focus,button.button-outline:hover,input[type='button'].button-outline:focus,input[type='button'].button-outline:hover,input[type='reset'].button-outline:focus,input[type='reset'].button-outline:hover,input[type='submit'].button-outline:focus,input[type='submit'].button-outline:hover{background-color:transparent;border-color:#606c76;color:#606c76}.button.button-outline[disabled]:focus,.button.button-outline[disabled]:hover,button.button-outline[disabled]:focus,button.button-outline[disabled]:hover,input[type='button'].button-outline[disabled]:focus,input[type='button'].button-outline[disabled]:hover,input[type='reset'].button-outline[disabled]:focus,input[type='reset'].button-outline[disabled]:hover,input[type='submit'].button-outline[disabled]:focus,input[type='submit'].button-outline[disabled]:hover{border-color:inherit;color:#0069d9}.button.button-clear,button.button-clear,input[type='button'].button-clear,input[type='reset'].button-clear,input[type='submit'].button-clear{background-color:transparent;border-color:transparent;color:#0069d9}.button.button-clear:focus,.button.button-clear:hover,button.button-clear:focus,button.button-clear:hover,input[type='button'].button-clear:focus,input[type='button'].button-clear:hover,input[type='reset'].button-clear:focus,input[type='reset'].button-clear:hover,input[type='submit'].button-clear:focus,input[type='submit'].button-clear:hover{background-color:transparent;border-color:transparent;color:#606c76}.button.button-clear[disabled]:focus,.button.button-clear[disabled]:hover,button.button-clear[disabled]:focus,button.button-clear[disabled]:hover,input[type='button'].button-clear[disabled]:focus,input[type='button'].button-clear[disabled]:hover,input[type='reset'].button-clear[disabled]:focus,input[type='reset'].button-clear[disabled]:hover,input[type='submit'].button-clear[disabled]:focus,input[type='submit'].button-clear[disabled]:hover{color:#0069d9}code{background:#f4f5f6;border-radius:.4rem;font-size:86%;margin:0 .2rem;padding:.2rem .5rem;white-space:nowrap}pre{background:#f4f5f6;border-left:0.3rem solid #0069d9;overflow-y:hidden}pre>code{border-radius:0;display:block;padding:1rem 1.5rem;white-space:pre}hr{border:0;border-top:0.1rem solid #f4f5f6;margin:3.0rem 0}input[type='color'],input[typ
|
||
|
|
||
|
/* General style */
|
||
|
h1{font-size: 3.6rem; line-height: 1.25}
|
||
|
h2{font-size: 2.8rem; line-height: 1.3}
|
||
|
h3{font-size: 2.2rem; letter-spacing: -.08rem; line-height: 1.35}
|
||
|
h4{font-size: 1.8rem; letter-spacing: -.05rem; line-height: 1.5}
|
||
|
h5{font-size: 1.6rem; letter-spacing: 0; line-height: 1.4}
|
||
|
h6{font-size: 1.4rem; letter-spacing: 0; line-height: 1.2}
|
||
|
pre{padding: 1em;}
|
||
|
|
||
|
.container{
|
||
|
margin: 0 auto;
|
||
|
max-width: 80.0rem;
|
||
|
padding: 0 2.0rem;
|
||
|
position: relative;
|
||
|
width: 100%
|
||
|
}
|
||
|
select {
|
||
|
width: auto;
|
||
|
}
|
||
|
|
||
|
/* Phoenix promo and logo */
|
||
|
.phx-hero {
|
||
|
text-align: center;
|
||
|
border-bottom: 1px solid #e3e3e3;
|
||
|
background: #eee;
|
||
|
border-radius: 6px;
|
||
|
padding: 3em 3em 1em;
|
||
|
margin-bottom: 3rem;
|
||
|
font-weight: 200;
|
||
|
font-size: 120%;
|
||
|
}
|
||
|
.phx-hero input {
|
||
|
background: #ffffff;
|
||
|
}
|
||
|
.phx-logo {
|
||
|
min-width: 300px;
|
||
|
margin: 1rem;
|
||
|
display: block;
|
||
|
}
|
||
|
.phx-logo img {
|
||
|
width: auto;
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
/* Headers */
|
||
|
header {
|
||
|
width: 100%;
|
||
|
background: #fdfdfd;
|
||
|
border-bottom: 1px solid #eaeaea;
|
||
|
margin-bottom: 2rem;
|
||
|
}
|
||
|
header section {
|
||
|
align-items: center;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: space-between;
|
||
|
}
|
||
|
header section :first-child {
|
||
|
order: 2;
|
||
|
}
|
||
|
header section :last-child {
|
||
|
order: 1;
|
||
|
}
|
||
|
header nav ul,
|
||
|
header nav li {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
display: block;
|
||
|
text-align: right;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
header nav ul {
|
||
|
margin: 1rem;
|
||
|
margin-top: 0;
|
||
|
}
|
||
|
header nav a {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
@media (min-width: 40.0rem) { /* Small devices (landscape phones, 576px and up) */
|
||
|
header section {
|
||
|
flex-direction: row;
|
||
|
}
|
||
|
header nav ul {
|
||
|
margin: 1rem;
|
||
|
}
|
||
|
.phx-logo {
|
||
|
flex-basis: 527px;
|
||
|
margin: 2rem 1rem;
|
||
|
}
|
||
|
}
|