Last active
December 17, 2015 12:29
-
-
Save ryndel/5610636 to your computer and use it in GitHub Desktop.
A collection of old css files from common.css. Replaced by less mixins
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* bubbles */ | |
.bubble { | |
border-color: #EE4B4B; | |
position: relative; | |
left: 0px; | |
top: 0px; | |
color:#333; | |
padding:20px; | |
width: 225px; | |
height: 125px; | |
margin: 8px 13px 25px 0; | |
border-radius: 15px; | |
-webkit-border-radius: 15px; | |
-moz-border-radius: 15px; | |
box-shadow: 0 1px 2px rgba(0,0,0,0.2); | |
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2); | |
-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2); | |
background: #c2f5fc; | |
text-align: left; | |
float: left; | |
border-radius: 10px; | |
-webkit-border-radius: 10px; | |
-moz-border-radius: 10px; | |
line-height: 1.3; | |
border-width: 0; | |
} | |
.bubble.red { | |
background-color:#ffe1d9; | |
} | |
.bubble.green { | |
background-color:#f5ffd9; | |
} | |
.bubble.blue { | |
background-color:#d7f8fc; | |
} | |
.bubble.magenta { | |
background-color:#ffd9e9; | |
} | |
.bubble.orange { | |
background-color:#ffe7d9; | |
} | |
.bubble.yellow { | |
background-color:#fff3d9; | |
} | |
.bubble.grey { | |
background-color:#dddddd; | |
} | |
.bubble p { | |
colour:#333; | |
height:4em; | |
} | |
.bubble a.button, .bubble a.button:visited { | |
position:absolute; | |
bottom:20px; | |
right:20px; | |
-moz-box-shadow: none; | |
-webkit-box-shadow: none; | |
} | |
.bubble:last-child: { | |
margin-right:0; | |
} | |
.bubble:before, .bubble:after { | |
content: ""; | |
position: absolute; | |
top: 100%; | |
left: 124px; | |
border-top: 15px solid transparent; | |
border-left: 0 solid transparent; | |
border-right: 15px solid transparent; | |
border-left-color:#000; | |
border-top-color:#000; | |
} | |
.bubble.red:after { | |
border-left-color:#ffe1d9; | |
border-top-color:#ffe1d9; | |
} | |
.bubble.green:after { | |
border-left-color:#f5ffd9; | |
border-top-color:#f5ffd9; | |
} | |
.bubble.blue:after { | |
border-left-color:#d7f8fc; | |
border-top-color:#d7f8fc; | |
} | |
.bubble.magenta:after { | |
border-left-color:#ffd9e9; | |
border-top-color:#ffd9e9; | |
} | |
.bubble.orange:after { | |
border-left-color:#ffe7d9; | |
border-top-color:#ffe7d9; | |
} | |
.bubble.yellow:after { | |
border-left-color:#fff3d9; | |
border-top-color:#fff3d9; | |
} | |
.bubble.grey:after { | |
border-left-color:#dddddd; | |
border-top-color:#dddddd; | |
} | |
.bubble:hover { | |
box-shadow:3px 3px 5px rgba(0,0,0,0.2); | |
-webkit-box-shadow:3px 3px 5px rgba(0,0,0,0.2); | |
-moz-box-shadow:3px 3px 5px rgba(0,0,0,0.2); | |
} | |
.bubble-large { | |
border-color: #EE4B4B; | |
position: relative; | |
left: 0px; | |
top: 0px; | |
color:#333; | |
padding:20px 20px 10px 20px; | |
margin: 8px 0; | |
border-radius: 15px; | |
-webkit-border-radius: 15px; | |
-moz-border-radius: 15px; | |
box-shadow: 0 1px 2px rgba(0,0,0,0.2); | |
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2); | |
-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2); | |
background: #eee; | |
text-align: left; | |
float: left; | |
border-radius: 10px; | |
-webkit-border-radius: 10px; | |
-moz-border-radius: 10px; | |
line-height: 1.3; | |
border-width: 0; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.red, a.red:visited { background-color: #e33100; } | |
a.red:hover { background-color: #872300; } | |
.green, a.green:visited { background-color: #91bd09; } | |
a.green:hover { background-color: #749a02; } | |
.blue, a.blue:visited { background-color: #2daebf; } | |
a.blue:hover { background-color: #007d9a; } | |
.magenta, a.magenta:visited { background-color: #a9014b; } | |
a.magenta:hover { background-color: #630030; } | |
.orange, a.orange:visited { background-color: #ff5c00; } | |
a.orange:hover { background-color: #d45500; } | |
.yellow, a.yellow:visited { background-color: #ffb515; } | |
a.yellow:hover { background-color: #fc9200; } | |
.grey, a.grey:visited { background-color: #666666; } | |
a.grey:hover { background-color: #333333; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Popup */ | |
.popup { | |
display: none; | |
position: absolute; | |
top:0; | |
left:0; | |
width: 100%; | |
height: 100%; | |
z-index:9999; | |
} | |
.popup .overlay { | |
position: absolute; | |
top:0; | |
left:0; | |
width: 100%; | |
height: 100%; | |
background: rgba(0,0,0, 0.5); | |
} | |
.popup .window { | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
width: 60%; | |
height: 60%; | |
margin-left: -30%; | |
margin-top: -30%; | |
background: #fff; | |
-moz-border-radius: 15px; | |
border-radius: 15px; | |
padding:16px; | |
background:#fff; | |
background-size:contain; | |
} | |
.popup article { | |
height: 100%; | |
text-align: left; | |
padding: 12px; | |
color:#4c4b4c; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; } | |
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; } | |
audio:not([controls]) { display: none; } | |
[hidden] { display: none; } | |
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } | |
html, button, input, select, textarea { font-family: sans-serif; color: #222; } | |
body { margin: 0; font-size: 1em; line-height: 1.4; color:#333 } | |
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } | |
::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; } | |
::selection { background: #fe57a1; color: #fff; text-shadow: none; } | |
a { color: #00e; } | |
a:visited { color: #551a8b; } | |
a:hover { color: #06e; } | |
a:focus { outline: thin dotted; } | |
a:hover, a:active { outline: 0; } | |
abbr[title] { border-bottom: 1px dotted; } | |
b, strong { font-weight: bold; } | |
blockquote { margin: 1em 40px; } | |
dfn { font-style: italic; } | |
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; } | |
ins { background: #ff9; color: #000; text-decoration: none; } | |
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; } | |
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; } | |
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; } | |
q { quotes: none; } | |
q:before, q:after { content: ""; content: none; } | |
small { font-size: 85%; } | |
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } | |
sup { top: -0.5em; } | |
sub { bottom: -0.25em; } | |
ul, ol { margin: 1em 0; padding: 0 0 0 40px; } | |
dd { margin: 0 0 0 40px; } | |
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; } | |
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; } | |
svg:not(:root) { overflow: hidden; } | |
figure { margin: 0; } | |
form { margin: 0; } | |
fieldset { border: 0; margin: 0; padding: 0; } | |
label { cursor: pointer; } | |
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; } | |
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; } | |
button, input { line-height: normal; } | |
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; } | |
button[disabled], input[disabled] { cursor: default; } | |
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; } | |
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; } | |
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; } | |
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } | |
textarea { overflow: auto; vertical-align: top; resize: vertical; } | |
input:valid, textarea:valid { } | |
input:invalid, textarea:invalid { background-color: #f0dddd; } | |
table { border-collapse: collapse; border-spacing: 0; } | |
td { vertical-align: top; } | |
.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; } | |
h1, h2, h3, h4, h5 { font-weight:normal } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.ribbon { | |
position: absolute; | |
right: 0; | |
top: 0; | |
width: 200px; | |
height: 150px; | |
font-family:Arial, Helvetica, sans-serif; | |
text-decoration: none !important; | |
} | |
.ribbon:hover { | |
text-decoration: none !important; | |
} | |
.ribbon .tag { | |
display: block; | |
height: 30px; | |
width: 200px; | |
color: #fff; | |
text-align: center; | |
font-size: 13px; | |
font-weight: bold; | |
line-height: 30px; | |
text-decoration:none !important; | |
box-shadow: 0px 0px 10px rgba( 0, 0, 0, 0.4 ); | |
-webkit-transform-origin: 15px 0px; | |
-moz-transform-origin: 15px 0px; | |
-ms-transform-origin: 15px 0px; | |
-o-transform-origin: 15px 0px; | |
transform-origin: 15px 0px; | |
-webkit-transform: translate(80.00000000000003px, -14.999999999999996px) rotate(45.000000000000014deg); | |
-moz-transform: translate(80.00000000000003px, -14.999999999999996px) rotate(45.000000000000014deg); | |
-ms-transform: translate(80.00000000000003px, -14.999999999999996px) rotate(45.000000000000014deg); | |
-o-transform: translate(80.00000000000003px, -14.999999999999996px) rotate(45.000000000000014deg); | |
} | |
.ribbon .tag:after { | |
content: ''; | |
display: block; | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 196px; | |
height: 26px; | |
margin: 1px; | |
border: 1px solid rgba( 255, 255, 255, 0.4 ); | |
} | |
.tag:hover { background-color: #111; color: #fff; text-decoration:none !important } | |
.small.tag, .small.tag:visited { font-size: 11px; } | |
.tag, .tag:visited, | |
.medium.tag, .medium.tag:visited { font-size: 13px; } | |
.large.tag, .large.tag:visited { font-size: 14px; } | |
@media screen and (max-width: 800px) { | |
.ribbon { | |
width: 120px; | |
height: 120px; | |
} | |
.ribbon .tag { | |
height: 30px; | |
width: 120px; | |
-webkit-transform: translate(50.00000000000003px, -14.999999999999996px) rotate(45.000000000000014deg); | |
} | |
.ribbon .tag:after { | |
width: 156px; | |
height: 26px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment