Files
infinity-squared/public/style.css

285 lines
3.6 KiB
CSS
Raw Normal View History

2013-08-14 21:39:47 +01:00
/*
Infinity Squared CSS
https://github.com/tomslominski/infinity-squared
*/
2013-12-31 01:11:36 +00:00
/* Structure */
2015-03-04 19:39:54 +00:00
html {
font-size: 62.5%;
box-sizing: border-box;
}
2013-12-31 01:11:36 +00:00
body {
background: #F1F1F1;
color: black;
font-family: 'Ubuntu', sans-serif, Helvetica, Arial;
2015-03-04 19:39:54 +00:00
}
.wrapper {
width: 60%;
margin: 0 auto;
2013-12-31 01:11:36 +00:00
}
#container {
width: 60%;
min-width: 720px;
margin: 0 auto;
background-color: white;
}
2013-08-14 21:39:47 +01:00
/* General */
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
input::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
::-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
input::-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
a, a:visited, .footer a, .footer a:visited {
color: #013F6D;
text-decoration: none;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
2013-12-30 23:27:33 +00:00
p, a {
2012-08-29 14:54:13 +01:00
font-size: 1.2em;
}
2013-08-14 21:39:47 +01:00
2013-12-30 23:27:33 +00:00
@font-face {
font-family: 'icons';
src:url('fonts/icons.woff') format('woff'),
url('fonts/icons.ttf') format('truetype'),
url('fonts/icons.svg#icons') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
font-family: 'icons';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
2012-08-29 14:54:13 +01:00
/* Header */
2013-08-14 21:39:47 +01:00
header {
2012-08-29 14:54:13 +01:00
margin: 0 auto;
2015-03-04 20:33:44 +00:00
margin-top: 10px;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
2012-08-29 14:54:13 +01:00
h1 {
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
h1 a, h1 a:visited {
color: white;
text-decoration: none;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
2012-08-29 14:54:13 +01:00
h1 a:hover {
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
/* Main style */
2015-03-04 19:46:07 +00:00
.content {
background: white;
2015-03-04 20:33:44 +00:00
padding: 15px;
margin-top: 15px;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
h2 {
color: black;
margin-bottom: -8px;
}
2012-08-29 14:54:13 +01:00
.right {
width: 60%;
float: right;
}
2013-08-14 21:39:47 +01:00
.radio {
margin-right: 10%;
}
2013-11-02 18:20:38 +00:00
input[type="radio"] {
margin-right: 1%;
}
2013-12-30 23:27:33 +00:00
.bookmarklet:before {
font-family: 'icons';
content: "\e600";
margin: 2px;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
/* reCAPTCHA */
.recaptcha-container {
font-size: 1.2em;
overflow: hidden;
}
2012-08-29 14:54:13 +01:00
/* Tooltips */
2013-08-14 21:39:47 +01:00
.qtip-default {
2013-02-27 21:48:15 +00:00
border-color: #013F6D;
background-color: #013F6D;
color: #FFF;
}
2013-08-14 21:39:47 +01:00
2012-08-29 14:54:13 +01:00
.ui-tooltip-titlebar,
.ui-tooltip-content{
border-color: #013F6D;
background-color: #013F6D;
color: #FFF;
}
2013-08-14 21:39:47 +01:00
2012-08-29 14:54:13 +01:00
/* Output */
2013-08-14 21:39:47 +01:00
.output label {
width: 30%;
float: left;
2013-08-30 22:49:35 +01:00
}
.output input {
width: 70%
}
2013-08-14 21:39:47 +01:00
.error {
color: red;
padding-bottom: 20px;
font-weight: bold;
text-align: center;
font-size: 1.2rem;
2012-08-29 14:54:13 +01:00
}
2013-08-14 21:39:47 +01:00
.social-sharer {
display: inline-block;
padding: 0 2px;
}
2013-12-31 01:00:00 +00:00
.output label {
width: 20%;
}
.output input {
width: 60%
}
.output button {
float: right;
}
.output button.active {
color:#013F6D;
}
svg#url-qr-code {
width: 50%;
height: 50%;
}
2012-08-29 14:54:13 +01:00
/* Footer */
.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
2012-08-29 14:54:13 +01:00
.footer p {
2015-03-04 20:33:44 +00:00
/*padding: 2%;*/
/*margin: 0 auto;*/
2013-08-14 21:39:47 +01:00
font-size: 1.1em;
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
2013-12-31 01:11:36 +00:00
.footer a {
font-size: 1.1em;
}
2012-08-29 14:54:13 +01:00
.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
/* 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");