summaryrefslogtreecommitdiffstats
path: root/css/styles.css
blob: 37c31fcfc6ddee4dcae781e5059e638a627da496 (plain) (blame)
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
/* --  Layout -- */
html,body {
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.container {
    display: table;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.center-block {
    display: table-cell;
    vertical-align: middle;
}


/* -- Typography -- */
h2 {
    color: #666;
    margin-bottom: 30px;
}

#search input {
    font-size: 18px;
}

body {
    font-family: 'Open Sans', sans-serif;
}


/* -- Links -- */
#links {
    margin: 40px auto;
}

#links a {
    position: relative;
    display: inline-block;
    width: 80px;
    margin-left: 5px;
}

#links a:hover, #links a:focus, #links a:active {
    text-decoration: none;
    color: #333;
}

.border-hover {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-property: background;
    transition-property: background;
    box-shadow: inset 0 0 0 4px #e1e1e1, 0 0 1px rgba(0, 0, 0, 0);
    margin: .4em;
    padding: 1em;
    background: #e1e1e1;
    color: #333;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.border-hover:hover, .border-hover:focus, .border-hover:active {
    background: none;
}

/* -- Images -- */
#parallax_image {
    display: block;
    height: 296px;
    position: relative;
    overflow: hidden;
    clear: both;
}

#parallax_image img {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    overflow: auto;
    width: 405px;
    height: auto;
}

#parallax_image #parallax_box {
    top: 24px;
    z-index: 9;
}

#parallax_image #parallax_cat {
    top: 31px;
    z-index: 8;
}

#parallax_image #parallax_eyes {
    top: 31px;
    z-index: 9;
}

#parallax_image #parallax_background {
    top: 24px;
    z-index: 5;
}


/* -- Form -- */
form {
    margin-top: 30px;
}

form button {
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
}