| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315 |
- @bg-color: #fefefe;
- @fg-color: #323232;
- @darker-bg-color: #dcdcdc;
- @darker-fg-color: #000;
- *,
- *:after,
- *:before {
- box-sizing: inherit;
- }
- html {
- box-sizing: border-box;
- font-size: 62.5%;
- }
- body {
- display:flex;
- color: @fg-color;
- background-color: @bg-color;
- font-family: 'Fira Mono', monospace;
- font-size: 1.6em;
- font-weight: 400;
- letter-spacing: 0.0625em;
- line-height: 1.8em;
- @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
- font-size: 1.4em;
- line-height: 1.6em;
- }
- }
- a {
- font-weight: 700;
- color: @darker-fg-color;
- text-decoration: none;
- &:focus,
- &:hover {
- text-decoration: underline;
- }
- }
- p {
- margin: 1.6rem 0 1.6rem 0;
- }
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- color: @darker-fg-color;
- text-transform: uppercase;
- letter-spacing: 0.0625em;
- margin: 3.2rem 0 1.6rem 0;
- }
- h1 {
- font-size: 3.2rem;
- line-height: 3.2rem;
- @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
- font-size: 2.8rem;
- line-height: 2.8rem;
- }
- }
- h2 {
- font-size: 2.8rem;
- line-height: 2.8rem;
- @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
- font-size: 2.4rem;
- line-height: 2.4rem;
- }
- }
- h3 {
- font-size: 2.4rem;
- line-height: 2.4rem;
- @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
- font-size: 2.0rem;
- line-height: 2.0rem;
- }
- }
- h4 {
- font-size: 2.2rem;
- line-height: 2.2rem;
- @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
- font-size: 1.8rem;
- line-height: 1.8rem;
- }
- }
- h5 {
- font-size: 2.0rem;
- line-height: 2.0rem;
- @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
- font-size: 1.6rem;
- line-height: 1.6rem;
- }
- }
- h6 {
- font-size: 1.4rem;
- line-height: 1.4rem;
- }
- pre {
- margin: 1.6rem 0 1.0rem 0;
- padding: 1.6rem;
- overflow-x: auto;
- }
- code {
- background-color: @darker-fg-color;
- color: @bg-color;
- padding: 0.4rem 0.8rem 0.4rem 0.8rem;
- }
- blockquote {
- border-left: 2px solid @darker-bg-color;
- padding-left: 1.6rem;
- font-style: italic;
- }
- img {
- max-width: 100%;
- }
- .wrapper {
- display: flex;
- flex-direction: column;
- min-height: 100vh;
- width: 100%;
- }
- .container {
- margin: 0 auto;
- max-width: 120.0rem;
- width: 100%;
- padding-left: 2.0rem;
- padding-right: 2.0rem;
- }
- .navigation {
- height: 6.0rem;
- width: 100%;
- a {
- display: inline;
- font-size: 1.6rem;
- text-transform: uppercase;
- line-height: 6.0rem;
- letter-spacing: 0.1rem;
- @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
- font-size: 1.4rem;
- }
- }
- ul {
- list-style: none;
- margin-bottom: 0;
- margin-top: 0;
- li {
- float: left;
- margin: 0;
- position: relative;
- a {
- margin-left: 1.0rem;
- margin-right: 1.0rem;
- }
- }
- }
- }
- .content {
- flex: 1;
- margin-top: 1.6rem;
- margin-bottom: 3.2rem;
- article {
- header {
- margin-top: 3.2rem;
- margin-bottom: 3.2rem;
- h1, h2 {
- margin: 0;
- }
- h2 {
- margin-top: 1.0rem;
- font-size: 1.8rem;
- color: @fg-color;
- @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
- font-size: 1.6rem;
- }
- }
- }
- }
- }
- .list {
- ul {
- margin: 3.2rem 0 3.2rem 0;
- list-style: none;
- padding: 0;
- li {
- font-size: 1.6rem;
- @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
- font-size: 1.4rem;
- margin: 1.6rem 0 1.6rem 0;
- }
- span {
- display: inline-block;
- text-align: right;
- width: 20.0rem;
- margin-right: 3.0rem;
- @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
- display: block;
- text-align: left;
- }
- }
- a {
- text-transform: uppercase;
- }
- }
- }
- }
- .pagination {
- margin-top: 6.0rem;
- text-align: center;
- li {
- display: inline;
- text-align: center;
- span {
- margin: 0;
- text-align: center;
- width: 3.2rem;
- }
- a {
- span {
- margin: 0;
- text-align: center;
- width: 3.2rem;
- }
- }
- }
- }
- .centered {
- display: flex;
- height: 100%;
- align-items: center;
- justify-content: center;
- .about {
- text-align: center;
- h1 {
- margin-top: 2.0rem;
- margin-bottom: 0.5rem;
- }
- h2 {
- margin-top: 1.0rem;
- margin-bottom: 0.5rem;
- font-size: 2.4rem;
- @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
- font-size: 2.0rem;
- }
- }
- ul {
- list-style: none;
- margin: 3.0rem 0 1.0rem 0;
- padding: 0;
- li {
- display: inline;
- position: relative;
- a {
- text-transform: uppercase;
- margin-left: 1.0rem;
- margin-right: 1.0rem;
- font-size: 1.6rem;
- @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
- font-size: 1.4rem;
- }
- }
- }
- }
- }
- .error {
- text-align: center;
- h1 {
- margin-top: 2.0rem;
- margin-bottom: 0.5rem;
- font-size: 4.6rem;
- @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
- font-size: 3.2rem;
- }
- }
- h2 {
- margin-top: 2.0rem;
- margin-bottom: 3.2rem;
- font-size: 3.2rem;
- @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
- font-size: 2.8rem;
- }
- }
- }
- }
- .footer {
- height: 6.0rem;
- width: 100%;
- text-align: center;
- line-height: 6.0rem;
- }
- .float-right {
- float: right;
- }
- .float-left {
- float: left;
- }
|