forked from railsgirls/guides.railsgirls.com
-
Notifications
You must be signed in to change notification settings - Fork 5
/
voter.css
113 lines (99 loc) · 1.8 KB
/
voter.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
html {
background-color: #F2E0D6;
font-family: "Helvetica", "Verdana", sans-serif;
height: 100%;
}
body {
height: 100%;
max-width: 450px;
margin: 0 auto;
padding: 0 3rem;
background-color: #4A4441;
color: #fff;
box-shadow: 0 0 25px -2px #000;
}
h1 {
font-size: 2.4rem;
line-height: 1.3em;
font-weight: normal;
margin-top: 0;
padding-top: 2rem;
color: #A2948E;
text-shadow: 0 -1px 0 #332F2D, 0 1px 0 #625A56;
}
ul {
list-style-type: none;
padding-left: 0;
line-height: 1.5em;
}
ul li::before {
content: '—';
display: inline-block;
margin-right: 0.3rem;
color: #B5A69F;
text-shadow: 0 -1px 0 #332F2D, 0 1px 0 #625A56;
}
form input,
form button {
display: block;
margin: 0.5rem 0;
padding: 0.7rem;
box-sizing: border-box;
width: 100%;
border: 2px solid #A6948C;
background-color: #FEEAE1;
font-size: 1.3rem;
color: #4A4441;
font-weight: bold;
}
form button {
color: #fff;
background-color: #BA6759;
color: #fff;
border: none;
}
form button:hover {
background-color: #E17D6C;
cursor: pointer;
}
a {
color: #BA6759;
text-decoration: none;
border-bottom: 1px dashed #BA6759;
}
a:hover {
background-color: #BA6759;
color: #fff;
border-bottom-style: solid;
}
img {
max-width: 100%;
border: 2px solid #A6948C;
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
filter: grayscale(100%);
-webkit-transition: all linear 0.3s;
-moz-transition: all linear 0.3s;
transition: all linear 0.3s;
}
img:hover {
border-color: #BA6759;
-webkit-filter: grayscale(0%);
-moz-filter: grayscale(0%);
-ms-filter: grayscale(0%);
filter: grayscale(0%);
}
body {
position: relative;
}
body > a:last-of-type {
position: absolute;
bottom: 2rem;
right: 2rem;
width: 30%;
border: none;
}
body > a:last-of-type:hover {
background-color: transparent;
}