-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
149 lines (132 loc) · 3.36 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
/* ========================
* CSS RESET - YUI 3.18.1
* http://yuilibrary.com/yui/docs/cssreset/
* ======================== */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;*font-size:100%}legend{color:#000}
/* ==================
* BODY & CONTAINER
* ================== */
body {
color: #eee;
background-color: #131513;
font-family: 'Roboto Slab', sans-serif;
font-size: 16px;
line-height: 1.5;
}
.container {
position: relative;
background-color: #333;
padding: 2rem;
height: 100%;
max-width: 80%;
float: none;
margin: 2rem auto;
border-bottom: 4px solid #ccc;
}
.container:before, .container:after {
display: block;
position: absolute;
top: 0;
right: 0;
content: "";
}
.container:before {
border-top: solid 20px #131513;
border-right: solid 20px #131513;
border-left: solid 20px transparent;
border-bottom: solid 20px transparent;
}
.container:after {
border-bottom: solid 20px #5b7093;
border-left: solid 20px #5b7093;
border-right: solid 20px transparent;
border-top: solid 20px transparent;
}
/* ================
* GRID STRUCTURE
* ================ */
/* --- Main --- */
* {
box-sizing: border-box;
}
[class*="col-"] {
float: left;
padding: 0.3rem;
}
.row::after {
content: "";
clear: both;
display: block;
}
/* --- For mobile (Default view) --- */
[class*="col-"] {
width: 100%;
}
/* --- For tablets --- */
@media only screen and (min-width: 600px) {
[class*="col-"] {
width: 100%;
}
}
/* --- For desktop --- */
@media only screen and (min-width: 1000px) {
/* --- Define 12 columns grid --- */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
}
/* ================
* FORM ELEMENTS
* ================ */
input[type="text"],
textarea {
padding: 0.8rem 1rem;
border: none;
width: 100%;
color: #7a7a7a;
}
input[type="submit"] {
background-color: #1bbd4f;
color: #fff;
cursor: pointer;
float: right;
padding: 0 2rem;
height: 3rem;
border: solid 4px #1bbd4f;
width: 100%;
-webkit-transition: all 100ms linear;
-moz-transition: all 100ms linear;
-o-transition: all 100ms linear;
-ms-transition: all 100ms linear;
transition: all 100ms linear;
}
input[type="submit"]:hover {
background-color: #17a34a;
border: solid 4px #17a34a;
}
/* ---------- */
table {
font-size: 1rem;
}
table td {
padding: 0.3rem;
}
tr:nth-child(2n) > td {
background-color: #999;
}
a {
color: orange;
}
/* ----- Tureng.com Specific ----- */
.hidden-xs {
display: none;
}