freeCodeCamp/public/css/styles.less

223 lines
2.9 KiB
Plaintext
Raw Normal View History

2014-01-23 22:22:54 +00:00
@import "lib/bootstrap/bootstrap";
@import "lib/font-awesome/font-awesome";
2014-07-01 21:04:45 +00:00
@import "lib/ionicons/ionicons";
@import "lib/bootstrap-social";
2014-07-01 21:04:45 +00:00
@import "themes/modern";
2014-01-23 22:37:47 +00:00
// Scaffolding
// -------------------------
2014-01-23 23:17:24 +00:00
2014-05-11 08:04:39 +00:00
html {
position: relative;
min-height: 100%;
2014-01-24 07:14:40 +00:00
}
2013-12-04 03:56:18 +00:00
body {
2014-05-11 08:04:39 +00:00
padding-top: 60px;
margin-bottom: 75px;
}
2013-12-12 06:35:18 +00:00
2014-05-11 08:04:39 +00:00
footer {
position: absolute;
bottom: 0;
width: 100%;
height: 45px;
line-height: 45px;
p,
ul {
margin-bottom: 0;
}
2014-01-24 07:14:40 +00:00
}
2014-01-23 22:37:47 +00:00
// Navbar
// -------------------------
2014-01-23 23:17:24 +00:00
.navbar-nav img {
width: 30px;
height: 30px;
margin: -15px 15px -15px;
2014-01-23 23:17:24 +00:00
}
// Alerts
2014-03-07 19:40:01 +00:00
// -------------------------
.alert {
margin-top: 20px;
2014-03-07 19:40:01 +00:00
}
2014-06-05 18:18:51 +00:00
// Thumbnails
2014-03-07 19:40:01 +00:00
// -------------------------
2014-06-05 18:18:51 +00:00
.thumbnail {
padding: 0;
border-radius: 0;
box-shadow: 0 0 5px #ccc, inset 0 0 0 #000;
}
2014-07-01 22:00:28 +00:00
// Font Icons
2014-03-07 19:40:01 +00:00
// -------------------------
2014-07-01 22:00:28 +00:00
.fa,
[class^='ion-'] {
margin-right: 6px;
}
2014-10-13 21:14:51 +00:00
html { height: 50%; }
body { margin: 0; height: 100%; position: relative; }
#firepad-container {
width: 100%;
height: 100%;
}
2014-10-13 21:14:51 +00:00
.img-center {
margin: 0 auto;
}
2014-10-13 21:14:51 +00:00
.three-by-three {
height: 100px;
}
2014-10-13 21:14:51 +00:00
.navbar-icon {
height: 40px;
2014-10-13 21:14:51 +00:00
margin-top: -10px;
}
2014-10-13 21:14:51 +00:00
.btn-cta {
font-size: 40px;
}
2014-10-13 21:14:51 +00:00
.btn {
border-radius: 3px;
white-space: normal;
-webkit-box-shadow: 2px 4px 1px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 2px 4px 1px rgba(0, 0, 0, 0.3);
box-shadow: 2px 4px 1px rgba(0, 0, 0, 0.3);
}
2014-10-13 21:14:51 +00:00
.btn-nav {
margin-top: 5px;
2014-10-14 01:00:37 +00:00
}
ul {
list-style: none;
word-wrap: break-word;
}
/* Pages */
.pages {
height: inherit;
margin: 0;
padding: 0;
width: inherit;
}
.page {
height: 100%;
position: absolute;
width: 100%;
}
/* Login Page */
.login.page {
background-color: #000;
}
.login.page .form {
height: 100px;
margin-top: -100px;
position: absolute;
text-align: center;
top: 50%;
width: 100%;
}
.login.page .form .usernameInput {
background-color: transparent;
border: none;
border-bottom: 2px solid #fff;
outline: none;
padding-bottom: 15px;
text-align: center;
width: 400px;
}
.login.page .title {
font-size: 200%;
}
.login.page .usernameInput {
font-size: 200%;
letter-spacing: 3px;
}
.login.page .title, .login.page .usernameInput {
color: #fff;
font-weight: 100;
}
/* Chat page */
.chat.page {
display: none;
}
/* Font */
.messages {
font-size: 150%;
}
.inputMessage {
font-size: 100%;
}
.log {
color: gray;
font-size: 70%;
margin: 5px;
text-align: center;
}
/* Messages */
.chatArea {
height: 100%;
padding-bottom: 60px;
}
.messages {
height: 100%;
margin: 0;
overflow-y: scroll;
padding: 10px 20px 10px 20px;
}
.message.typing .messageBody {
color: gray;
}
.username {
float: left;
font-weight: 700;
overflow: hidden;
padding-right: 15px;
text-align: right;
}
/* Input */
.inputMessage {
border: 10px solid #000;
bottom: 0;
height: 60px;
left: 0;
outline: none;
padding-left: 10px;
position: absolute;
right: 0;
width: 100%;
2014-05-11 08:35:12 +00:00
}