Files
infinity-squared/public/style.css

340 lines
4.4 KiB
CSS
Raw Normal View History

2013-08-14 21:39:47 +01:00
/*
Infinity Squared CSS
https://github.com/tomslominski/infinity-squared
*/
2015-03-06 14:11:08 +00:00
/* Set up */
2015-03-06 15:08:50 +00:00
* {
box-sizing: border-box;
}
2015-03-04 19:39:54 +00:00
html {
font-size: 62.5%;
}
2013-12-31 01:11:36 +00:00
body {
background: #F1F1F1;
color: black;
2015-03-06 17:02:19 +00:00
font-size: 1.4rem;
2015-03-04 19:39:54 +00:00
}
2015-03-08 17:29:23 +00:00
body, input {
font-family: 'Open Sans', 'Trebuchet MS', Helvetica, sans-serif;
}
2012-08-29 14:54:13 +01:00
::selection {
2013-08-14 21:39:47 +01:00
background: rgba(1,63,109,0.7);
color: #FFF;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
::-moz-selection {
background: rgba(1,63,109,0.7);
color: #FFF;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
2015-03-06 14:11:08 +00:00
/* Structure and global design */
a, a:visited {
color: #013F6D;
text-decoration: none;
}
.wrapper {
width: 60%;
margin: 0 auto;
}
.content {
background: white;
padding: 15px;
margin-top: 15px;
border: 1px solid #D8D8D8;
box-shadow: 0 0 3px 0 #CCC;
}
.hidden {
display: none;
}
2012-08-29 14:54:13 +01:00
/* Header */
2015-03-06 14:11:08 +00:00
.site-header {
2012-08-29 14:54:13 +01:00
margin: 0 auto;
2015-03-06 14:11:08 +00:00
padding: 0;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
2015-03-06 14:11:08 +00:00
.site-title {
2015-03-04 19:39:54 +00:00
background-color: #013F6D;
2013-08-14 21:39:47 +01:00
width: 100%;
text-align: center;
color: white;
2015-03-04 19:39:54 +00:00
font-size: 7rem;
2013-08-14 21:39:47 +01:00
border-top: 4px #000 solid;
margin: 0 auto;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
2015-03-06 14:11:08 +00:00
.site-title a, .site-tite a:visited {
2013-08-14 21:39:47 +01:00
color: white;
text-decoration: none;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
2015-03-06 14:11:08 +00:00
.site-title a:hover {
2012-08-29 14:54:13 +01:00
border-bottom: #FFF 1px dashed;
}
2013-08-14 21:39:47 +01:00
2012-08-29 14:54:13 +01:00
.menu {
2015-03-04 20:01:13 +00:00
background: black;
2012-08-29 14:54:13 +01:00
margin: 0 auto;
2015-03-04 20:01:13 +00:00
width: 100%;
2013-08-14 21:39:47 +01:00
color: white;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
2012-08-29 14:54:13 +01:00
.menu a {
color: #FFF;
text-decoration: none;
2015-03-04 20:01:13 +00:00
display: inline-block;
padding: 12px;
2013-08-14 21:39:47 +01:00
background: none;
2015-03-04 20:04:13 +00:00
transition: background 0.8s;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
2012-08-29 14:54:13 +01:00
.menu a:hover {
2015-03-04 20:04:13 +00:00
transition: background 0.8s;
2013-08-14 21:39:47 +01:00
background: #292929;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
2015-03-06 13:52:49 +00:00
/* Forms */
2015-03-06 15:01:19 +00:00
.form-item {
2015-03-06 17:02:19 +00:00
padding: 10px 0;
2015-03-06 14:49:02 +00:00
}
.form-item p {
margin: 0;
}
2015-03-06 15:01:19 +00:00
.full-width {
2015-03-06 14:49:02 +00:00
width: 100%;
}
2015-03-06 15:01:19 +00:00
.half-width {
2015-03-06 17:02:19 +00:00
width: 49%;
}
.halves {
2015-03-06 22:51:36 +00:00
display: flex;
2015-03-06 17:02:19 +00:00
display: -webkit-flex;
2015-03-06 22:51:36 +00:00
display: -moz-flex;
justify-content: space-between;
2015-03-06 17:02:19 +00:00
-webkit-justify-content: space-between;
2015-03-06 22:51:36 +00:00
-moz-justify-content: space-between;
align-items: flex-end;
2015-03-06 17:02:19 +00:00
-webkit-align-items: flex-end;
2015-03-06 22:51:36 +00:00
-moz-align-items: flex-end;
2015-03-06 17:02:19 +00:00
}
label {
display: inline;
2015-03-06 17:02:19 +00:00
line-height: 2rem;
}
2015-03-06 15:01:19 +00:00
label.primary {
font-weight: bold;
}
label.secondary {
2015-03-06 17:02:19 +00:00
color: #AFAFAF;
2015-03-06 15:01:19 +00:00
}
input:not([type=submit]):not([type=file]) {
width: 100%;
padding: 10px;
2015-03-06 22:29:51 +00:00
font-size: 1.6rem;
border: 1px solid #D8D8D8;
margin-top: 5px;
transition: box-shadow 0.5s, border 0.5s;
}
.g-recaptcha {
margin-top: 5px;
2015-03-06 22:29:51 +00:00
}
input:not([type=submit]):not([type=file]):focus {
box-shadow: 0px 0px 8px 0px rgba(1,63,109,0.59), inset 0px 0px 1px 0px rgba(0,0,0,1);
border-color: #013F6D;
outline: none;
}
input[type=submit] {
2015-03-06 17:02:19 +00:00
font-size: 1.4rem;
2015-03-06 22:59:25 +00:00
padding: 10px;
2015-03-06 22:29:51 +00:00
border-radius: none;
2015-03-06 22:59:25 +00:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
2015-03-07 00:01:11 +00:00
}
.button {
background: #F9F9F9;
border: 1px solid #D3D3D3;
transition: background 0.5s;
cursor: pointer;
2015-03-07 18:29:58 +00:00
margin: 0;
}
2015-03-07 00:01:11 +00:00
.button:hover {
background: #E2E2E2;
2015-03-06 22:29:51 +00:00
}
.submit-container {
text-align: right;
2015-03-06 15:01:19 +00:00
}
2012-08-29 14:54:13 +01:00
/* Output */
2013-08-14 21:39:47 +01:00
.error {
color: red;
font-weight: bold;
text-align: center;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
.copy-button {
margin-top: 2px;
}
2015-03-08 15:39:40 +00:00
.copy-button:focus {
outline: none;
}
2015-03-08 00:48:16 +00:00
.social-button {
display: inline-block;
2015-03-08 00:48:16 +00:00
border-color: #F0F0F0;
}
.social-button.twitter {
background-color: #55ACEE;
}
.social-button.appdotnet {
background-color: #49474B;
}
.social-button.facebook {
background-color: #3B5998;
}
.social-button.tumblr {
background-color: #35465C;
}
.social-button.linkedin {
background-color: #0976B4;
}
.social-button.googleplus {
background-color: #DD4B39;
}
.social-button svg {
width: 40px;
height: 40px;
padding: 6px;
fill: white;
}
svg#url-qr-code {
width: 50%;
height: 50%;
}
2015-03-06 23:10:32 +00:00
/* Bookmarklet */
.bookmarklet-container {
text-align: center;
2015-03-07 00:01:11 +00:00
margin: 20px 0;
2015-03-06 23:10:32 +00:00
}
.bookmarklet {
padding: 7px;
2015-03-07 00:01:11 +00:00
font-size: 1.4rem;
color: black;
2015-03-06 23:10:32 +00:00
}
.icon-move svg {
2015-03-06 23:10:32 +00:00
vertical-align: center;
2015-03-07 00:01:11 +00:00
height: 1.2rem;
width: 1.2rem;
margin-right: 3px;
2015-03-06 23:10:32 +00:00
}
2012-08-29 14:54:13 +01:00
/* Footer */
2015-03-08 15:34:35 +00:00
.site-footer {
2013-08-14 21:39:47 +01:00
text-align: center;
border-top: 2px solid #000;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
2015-03-08 15:34:35 +00:00
.site-footer p {
2015-03-06 13:52:49 +00:00
font-size: 1.2rem;
2015-03-04 20:33:44 +00:00
margin: 0;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
2015-03-08 17:22:24 +00:00
.site-footer .recaptcha-cookie {
margin-top: 5px;
color: #AFAFAF;
}
2015-03-08 15:34:35 +00:00
.site-footer a:hover {
2013-08-14 21:39:47 +01:00
text-decoration: none;
border-bottom: dashed 1px #013F6D;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
2015-03-06 23:36:54 +00:00
.icon-github svg {
height: 1.2rem;
width: 1.2rem;
transition: fill 0.5s;
}
.icon-github svg:hover {
fill: #013F6D;
}
a.icon-github:hover {
border-bottom: none;
}
2013-08-14 21:39:47 +01:00
/* Mobile */
@media screen and (max-width: 720px) {
body {
background:white;
margin:0;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
#container {
min-width:0;
width:100%;
margin:0;
padding:0;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
header {
width:100%;
padding:0;
}
.menu li {
margin-top:0;
}
2013-11-13 16:46:27 +00:00
.desktop-only, .zclip {
2013-08-14 21:39:47 +01:00
display:none;
2012-08-29 14:54:13 +01:00
}
}
/* Error page */
#wrap > h1 > a {
display: none;
}
#wrap > h2,
#wrap > p {
color: red;
}
/* Importing custom user styles */
@import url("public/user-style.css");