Files
freeCodeCamp/public/css/styles.less

226 lines
2.8 KiB
Plaintext
Raw Normal View History

2014-01-23 17:22:54 -05:00
@import "lib/bootstrap/bootstrap";
@import "lib/font-awesome/font-awesome";
2014-07-01 17:04:45 -04:00
@import "lib/ionicons/ionicons";
@import "lib/bootstrap-social";
2014-07-01 17:04:45 -04:00
@import "themes/modern";
2014-01-23 17:37:47 -05:00
// Scaffolding
// -------------------------
2014-01-23 18:17:24 -05:00
2014-05-11 04:04:39 -04:00
html {
position: relative;
min-height: 100%;
2014-01-24 02:14:40 -05:00
}
2013-12-03 22:56:18 -05:00
body {
2014-05-11 04:04:39 -04:00
padding-top: 60px;
margin-bottom: 75px;
}
2013-12-12 01:35:18 -05:00
2014-05-11 04:04:39 -04:00
footer {
position: absolute;
bottom: 0;
width: 100%;
height: 45px;
line-height: 45px;
p,
ul {
margin-bottom: 0;
}
2014-01-24 02:14:40 -05:00
}
2014-01-23 17:37:47 -05:00
// Navbar
// -------------------------
2014-01-23 18:17:24 -05:00
.navbar-nav img {
width: 30px;
height: 30px;
margin: -15px 15px -15px;
2014-01-23 18:17:24 -05:00
}
// Alerts
2014-03-07 14:40:01 -05:00
// -------------------------
.alert {
margin-top: 20px;
2014-03-07 14:40:01 -05:00
}
2014-06-05 14:18:51 -04:00
// Thumbnails
2014-03-07 14:40:01 -05:00
// -------------------------
2014-06-05 14:18:51 -04:00
.thumbnail {
padding: 0;
border-radius: 0;
box-shadow: 0 0 5px #ccc, inset 0 0 0 #000;
}
2014-07-01 18:00:28 -04:00
// Font Icons
2014-03-07 14:40:01 -05:00
// -------------------------
2014-07-01 18:00:28 -04:00
.fa,
[class^='ion-'] {
margin-right: 6px;
}
2014-10-13 14:14:51 -07:00
.img-center {
margin: 0 auto;
}
2014-10-13 14:14:51 -07:00
.three-by-three {
height: 100px;
}
2014-10-13 14:14:51 -07:00
.navbar-icon {
height: 40px;
2014-10-13 14:14:51 -07:00
margin-top: -10px;
}
2014-10-13 14:14:51 -07:00
.btn-cta {
font-size: 40px;
}
2014-10-13 14:14:51 -07: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 14:14:51 -07:00
.btn-nav {
margin-top: 5px;
2014-10-13 18:00:37 -07:00
}
ul {
list-style: none;
word-wrap: break-word;
}
2014-10-13 21:38:10 -07:00
2014-10-16 09:07:06 -07:00
/* Pages */
2014-10-13 18:00:37 -07:00
.pages {
2014-10-13 21:38:10 -07:00
height: 100%;
2014-10-13 18:00:37 -07:00
margin: 0;
padding: 0;
2014-10-13 21:38:10 -07:00
width: 100%;
2014-10-13 18:00:37 -07:00
}
.page {
height: 100%;
position: absolute;
width: 100%;
}
2014-10-16 09:07:06 -07:00
/* Login Page */
2014-10-13 18:00:37 -07:00
.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;
}
2014-10-16 09:07:06 -07:00
/* Chat page */
2014-10-13 18:00:37 -07:00
.chat.page {
display: none;
}
/* Font */
.messages {
font-size: 150%;
}
.inputMessage {
font-size: 100%;
}
.log {
color: gray;
font-size: 70%;
margin: 5px;
text-align: center;
}
2014-10-16 09:07:06 -07:00
/* Messages */
2014-10-13 18:00:37 -07:00
.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-10-13 21:38:10 -07:00
}
/**/