summaryrefslogtreecommitdiffstats
path: root/css/styles.css
diff options
context:
space:
mode:
author[ nad1r ] <admin@nad1r.pl>2020-11-09 23:32:06 +0100
committer[ nad1r ] <admin@nad1r.pl>2020-11-09 23:32:06 +0100
commit3724a26b4963d2eb84261924fadd83877c5d8e7f (patch)
tree906db890d410cda9da5f902d3b4871022b8d0a10 /css/styles.css
downloaddefault.catweb-3724a26b4963d2eb84261924fadd83877c5d8e7f.tar.gz
default.catweb-3724a26b4963d2eb84261924fadd83877c5d8e7f.tar.xz
default.catweb-3724a26b4963d2eb84261924fadd83877c5d8e7f.zip
Initial commit.HEADmaster
Diffstat (limited to 'css/styles.css')
-rw-r--r--css/styles.css133
1 files changed, 133 insertions, 0 deletions
diff --git a/css/styles.css b/css/styles.css
new file mode 100644
index 0000000..37c31fc
--- /dev/null
+++ b/css/styles.css
@@ -0,0 +1,133 @@
1/* -- Layout -- */
2html,body {
3 height: 100%;
4}
5
6* {
7 margin: 0;
8 padding: 0;
9 -moz-box-sizing: border-box;
10 -o-box-sizing: border-box;
11 -webkit-box-sizing: border-box;
12 box-sizing: border-box;
13}
14
15.container {
16 display: table;
17 width: 100%;
18 height: 100%;
19 min-height: 100%;
20}
21
22.center-block {
23 display: table-cell;
24 vertical-align: middle;
25}
26
27
28/* -- Typography -- */
29h2 {
30 color: #666;
31 margin-bottom: 30px;
32}
33
34#search input {
35 font-size: 18px;
36}
37
38body {
39 font-family: 'Open Sans', sans-serif;
40}
41
42
43/* -- Links -- */
44#links {
45 margin: 40px auto;
46}
47
48#links a {
49 position: relative;
50 display: inline-block;
51 width: 80px;
52 margin-left: 5px;
53}
54
55#links a:hover, #links a:focus, #links a:active {
56 text-decoration: none;
57 color: #333;
58}
59
60.border-hover {
61 display: inline-block;
62 vertical-align: middle;
63 -webkit-transform: translateZ(0);
64 transform: translateZ(0);
65 box-shadow: 0 0 1px rgba(0, 0, 0, 0);
66 -webkit-backface-visibility: hidden;
67 backface-visibility: hidden;
68 -moz-osx-font-smoothing: grayscale;
69 -webkit-transition-duration: 0.5s;
70 transition-duration: 0.5s;
71 -webkit-transition-property: background;
72 transition-property: background;
73 box-shadow: inset 0 0 0 4px #e1e1e1, 0 0 1px rgba(0, 0, 0, 0);
74 margin: .4em;
75 padding: 1em;
76 background: #e1e1e1;
77 color: #333;
78 -webkit-tap-highlight-color: rgba(0,0,0,0);
79}
80
81.border-hover:hover, .border-hover:focus, .border-hover:active {
82 background: none;
83}
84
85/* -- Images -- */
86#parallax_image {
87 display: block;
88 height: 296px;
89 position: relative;
90 overflow: hidden;
91 clear: both;
92}
93
94#parallax_image img {
95 position: absolute;
96 left: 0;
97 right: 0;
98 margin: auto;
99 overflow: auto;
100 width: 405px;
101 height: auto;
102}
103
104#parallax_image #parallax_box {
105 top: 24px;
106 z-index: 9;
107}
108
109#parallax_image #parallax_cat {
110 top: 31px;
111 z-index: 8;
112}
113
114#parallax_image #parallax_eyes {
115 top: 31px;
116 z-index: 9;
117}
118
119#parallax_image #parallax_background {
120 top: 24px;
121 z-index: 5;
122}
123
124
125/* -- Form -- */
126form {
127 margin-top: 30px;
128}
129
130form button {
131 -webkit-transition-duration: 0.5s;
132 transition-duration: 0.5s;
133} \ No newline at end of file