/* Rules for sizing the icon. */ .material-icons.md-18 { font-size: 18px; } .material-icons.md-24 { font-size: 24px; } .material-icons.md-36 { font-size: 36px; } .material-icons.md-48 { font-size: 48px; } /* Rules for using icons as black on a light background. */ .material-icons.md-dark { color: rgba(0, 0, 0, 0.54); } .material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); } /* Rules for using icons as white on a dark background. */ .material-icons.md-light { color: rgba(255, 255, 255, 1); } .material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); } body { font-family: 'Roboto'; font-size: 16px; margin: 0; } a { text-decoration: none; } header { height: 50px; background-color: #3F51B5; box-sizing: border-box; color: white; margin-bottom: 1em; /* box-shadow: 0 0 4px #1A237E; */ } h1 { font-size: 24px; font-weight: 500; margin: 0; padding: 0; } h1 > a { color: white; } h2 { font-weight: 500; font-size: 20px; margin: 16px; } ul.scrobbles { padding: 0; margin: 0; list-style: none; } ul.scrobbles li { display: flex; height: 60px; padding: 0 16px; align-items: center; } ul.scrobbles li:hover { background-color: #E8EAF6; cursor: pointer; } ul.scrobbles li img { height: 40px; margin-right: 16px; border: 1px solid #C5CAE9; } ul.scrobbles li div { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 18px; } ul.scrobbles li .album { font-size: 12px; color: #4f4f4f; } ul.scrobbles .like { margin: 0; padding: 0; margin-left: auto; padding-left: 4px; box-sizing: border-box; min-width: 28px; text-align: right; } .swap > .two { color: #3F51B5; display: none; } .swap > .one { color: #4f4f4f; } .swap:hover > .one { display: none; } .swap:hover > .two { display: initial; } #center { height: 100%; max-width: 1000px; margin: 0 auto; padding: 0 16px; display: flex; box-sizing: border-box; align-items: center; } .user { color: rgba(255, 255, 255, .8); margin-left: auto; } .user:hover { color: rgba(255, 255, 255, 1); } #main { max-width: 1000px; margin: 0 auto; } input[type=text], input[type=password] { border: none; padding-bottom: 8px; font-size: 16px; border-bottom: 1px solid grey; } label { font-size: 12px; box-sizing: border-box; margin-bottom: 8px; } input[type=text]:focus, input[type=password]:focus { outline: none; padding-bottom: 7px; border-bottom: 2px solid #3F51B5; } input:focus+label { color: #3F51B5; } .row { display: flex; margin-bottom: 1em; flex-wrap: wrap; margin-top: -1em; padding: 0 16px; } .form-element { display: flex; flex-direction: column-reverse; margin-right:1em; margin-top: 1em; width: 300px; } input[type=submit] { border: none; background: none; padding: 0; font-family: 'Roboto'; color: #3F51B5; font-size: 16px; font-weight: 500; cursor: pointer } input[type=submit]:focus { outline: none; } form > section { margin-bottom: 2em; }