1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
theorangeone.net-legacy/static/src/less/style.less

179 lines
3.7 KiB
Text
Raw Normal View History

2015-10-19 13:04:49 +01:00
@import "node_modules/bootstrap/less/bootstrap";
@import "node_modules/bootstrap/less/theme";
@import "node_modules/ionicons-pre/less/ionicons";
// @import url(https://fonts.googleapis.com/css?family=Roboto:400,300,400italic,700);
2015-11-09 14:13:17 +00:00
@import (inline) "node_modules/animate.css/animate.css";
@import (inline) "node_modules/normalize.css/normalize.css";
2015-11-09 21:47:16 +00:00
/* @group Mixins */
.transition(@value) {
-webkit-transition: @value;
-moz-transition: @value;
-o-transition: @value;
-ms-transition: @value;
transition: @value;
}
.box-shadow(@value) {
-webkit-box-shadow: @value;
-moz-box-shadow: @value;
box-shadow: @value;
}
/* @end Mixins */
/* @group Global */
.btn {
.transition(~"ease-in-out .2s background-color");
}
html, body{
font-family: 'Roboto', sans-serif;
}
p {
}
ol , ul{
font-size: inherit;
& > li {
font-size: inherit
}
}
2015-11-11 16:32:51 +00:00
a.no-color-change {
color: inherit;
&:hover {
color: inherit;
}
}
2015-11-09 21:47:16 +00:00
/* @end Global */
/* @group Homepage */
.index {
#header {
2015-11-09 21:52:03 +00:00
height: 100vh;
background: #232323;
2015-11-09 21:47:16 +00:00
background-size: cover;
background-position: fixed;
.jumbotron {
margin-top: 5vh;
text-align: center;
background-color: transparent;
color: white;
padding-bottom: 0;
margin-bottom: 0;
h1 {
margin-bottom: 15px;
}
2015-11-11 14:34:45 +00:00
.icon {
cursor: pointer;
.transition(color 0.4s);
&:hover {
color: #ff7f00;
}
}
2015-11-09 21:47:16 +00:00
}
}
#intro-text {
2015-11-11 09:31:22 +00:00
background-color: #333;
2015-11-09 21:47:16 +00:00
.container {
text-align: center;
margin-top: 35px;
margin-bottom: 35px;
color: white;
font-size: 17px;
}
}
2015-11-10 22:52:57 +00:00
2015-11-09 21:47:16 +00:00
#project-images {
background: url(http://catesmechanical.com/images/blueprint-background1.jpg);
2015-11-10 22:52:57 +00:00
background-size: cover;
2015-11-09 21:47:16 +00:00
.container {
text-align: center;
2015-11-11 16:45:22 +00:00
margin-top: 20px;
2015-11-09 21:47:16 +00:00
margin-bottom: 35px;
2015-11-11 14:04:37 +00:00
font-size: 16px;
2015-11-11 16:45:22 +00:00
h1 {
margin-top: 0;
color: white;
font-size: 40px;
}
2015-11-11 14:04:37 +00:00
@media screen and (max-width: @screen-xs-max) {
.wrapper,
.wrapper .project {
height: 275px;
width: 275px;
}
2015-11-11 09:31:22 +00:00
}
2015-11-10 22:52:57 +00:00
2015-11-11 14:04:37 +00:00
@media screen and (min-width: @screen-sm-min) {
.wrapper,
.wrapper .project {
height: 200px;
width: 200px;
2015-11-10 22:52:57 +00:00
}
2015-11-11 14:04:37 +00:00
}
@media screen and (min-width: @screen-md-min) {
.wrapper,
.wrapper .project {
height: 280px;
width: 280px;
2015-11-10 22:52:57 +00:00
}
2015-11-11 14:04:37 +00:00
}
& > div {
margin: 10px 0;
}
.wrapper {
color: white;
margin: 0 auto;
2015-11-11 14:06:44 +00:00
cursor: pointer;
2015-11-11 16:18:09 +00:00
background-size: cover;
background-position: center;
2015-11-11 14:24:13 +00:00
.box-shadow(0px 4px 5px 2px rgba(0,0,0,0.7));
2015-11-11 14:04:37 +00:00
&:hover .project {
opacity: 1;
}
2015-11-10 22:52:57 +00:00
2015-11-11 14:24:13 +00:00
&.college {
2015-11-11 14:52:48 +00:00
background-image: url(http://cdn.ttgtmedia.com/rms/computerweekly/39826_college-of-richard-collyer.gif);
2015-11-11 14:24:13 +00:00
}
&.personal {
2015-11-11 16:18:09 +00:00
background-image: url(http://www.inzeed.com/kaleidoscope/wp-content/uploads/2014/11/stock-footage-computer-code-background1.jpg);
2015-11-11 14:24:13 +00:00
}
&.work {
background-image: url(http://www.recommendedagencies.com/images/logos/dabapps-logo-1432733278.jpg);
}
2015-11-11 14:04:37 +00:00
& .project {
2015-11-11 16:55:50 +00:00
padding: 15px;
2015-11-11 14:04:37 +00:00
.transition(~"opacity 0.5s ease-in");
opacity: 0;
background-color: rgba(0,0,0,0.6);
p, a.btn {
font-size: 12px;
}
h4 {
font-size: 23px;
2015-11-10 22:52:57 +00:00
}
}
2015-11-09 21:47:16 +00:00
}
}
}
2015-11-12 11:16:58 +00:00
#twitter-feed {
height: 75vh;
text-align: center;
.twitter-icon {
& > div{
height: 200px;
width: 200px;
}
}
}
2015-11-09 21:47:16 +00:00
}
/* @end Homepage*/