summaryrefslogtreecommitdiff
path: root/site/assets/css/css.css
diff options
context:
space:
mode:
Diffstat (limited to 'site/assets/css/css.css')
-rw-r--r--site/assets/css/css.css172
1 files changed, 172 insertions, 0 deletions
diff --git a/site/assets/css/css.css b/site/assets/css/css.css
new file mode 100644
index 00000000..d7db0e1f
--- /dev/null
+++ b/site/assets/css/css.css
@@ -0,0 +1,172 @@
+* { box-sizing: border-box; }
+html, body {
+ margin: 0;
+ padding: 0;
+ width: 100%;
+ min-height: 100%;
+ font-family: 'Roboto', sans-serif;
+ background: #191919;
+ color: #b8b8b8;
+}
+
+/* header */
+
+header {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 70px;
+ background: #1e1e1e;
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ justify-content: space-between;
+ box-shadow: 0 0 4px rgba(0,0,0,0.3);
+}
+header .slogan {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ padding-left: 56px;
+ text-decoration: none;
+}
+header .logo {
+ background-image: url(../img/megapixels_logo_white.svg);
+ background-size: cover;
+ background-repeat: no-repeat;
+ margin-top: 7px;
+ margin-right: 14px;
+ width: 49px;
+ height: 30px;
+}
+header .site_name {
+ font-weight: bold;
+ color: #fff;
+}
+header .sub {
+ color: #666;
+ font-size: 10pt;
+ margin-left: 4px;
+ margin-top: 2px;
+ transition: color 0.1s cubic-bezier(0,1,1,1);
+}
+.desktop header .slogan:hover .site_name {
+ color: #fff;
+}
+.desktop header .slogan:hover .sub {
+ color: #666;
+}
+header .links {
+ display: flex;
+ flex-direction: row;
+ font-family: 'Roboto Mono', monospace;
+}
+header .links a {
+ display: block;
+ color: #777;
+ text-decoration: none;
+ text-transform: uppercase;
+ margin-right: 32px;
+ transition: color 0.1s cubic-bezier(0,1,1,1), border-color 0.1s cubic-bezier(0,1,1,1);
+ border-bottom: 1px solid rgba(255,255,255,0);
+}
+header .links a.active {
+ color: #bbb;
+}
+.desktop header .links a:hover {
+ color: #fff;
+ border-bottom: 1px solid rgba(255,255,255,255);
+}
+.desktop header .links a.active:hover {
+ color: #fff;
+ border-bottom: 1px solid rgba(255,255,255,255);
+}
+
+/* footer */
+
+footer {
+ width: 100%;
+ background: #000;
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ color: #888;
+ font-size: 9pt;
+ padding: 20px 75px 20px;
+}
+footer > div {
+ display: flex;
+ flex-direction: row;
+}
+footer a {
+ display: inline-block;
+ color: #888;
+ transition: color 0.2s cubic-bezier(0,1,1,1);
+ margin-right: 5px;
+}
+footer a:hover {
+ color: #ddd;
+}
+
+/* headings */
+
+h1 {
+ color: #ddd;
+ font-weight: 300;
+ font-size: 24pt;
+ margin: 75px 0 10px;
+ padding: 0;
+}
+h3 {
+ font-family: 'Roboto Mono', monospace;
+ font-weight: 400;
+ font-size: 10pt;
+ text-transform: uppercase;
+ color: #666;
+ margin: 0 0 10px 0;
+ padding: 0;
+}
+
+/* content */
+
+.content {
+ padding-top: 70px;
+ padding-bottom: 100px;
+ min-height: calc(100vh - 55px);
+ line-height: 1.5;
+}
+section {
+ width: 640px;
+ margin: 0 auto;
+}
+.content .first_paragraph {
+ font-weight: 300;
+ font-size: 18pt;
+ color: #ccc;
+}
+p {
+ margin: 0 0 20px 0;
+}
+
+.meta {
+ display: flex;
+ flex-direction: row;
+ justify-content: flex-start;
+ align-items: flex-start;
+ font-size: 10pt;
+ margin-bottom: 20px;
+}
+.meta > div {
+ margin-right: 30px;
+}
+.meta .gray {
+ font-size: 9pt;
+ padding-bottom: 4px;
+}
+.gray {
+ font-family: 'Roboto Mono', monospace;
+ font-weight: 400;
+ text-transform: uppercase;
+ color: #666;
+}