-
Notifications
You must be signed in to change notification settings - Fork 0
/
infostijl.css
110 lines (98 loc) · 2.53 KB
/
infostijl.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
@charset "UTF-8";
/* CSS Document */
html,body{font-family:"Cantarell",sans-serif;font-size:14px;line-height:1.5; width: 900px; align-content: center}
html{overflow-x:hidden}
h1{font-size:36px}
h2{font-size:30px}
h3{font-size:24px}
h4{font-size:20px}
h5{font-size:18px}
h6{font-size:16px}.w3-serif{font-family:serif}
h1,h2,h3,h4,h5,h6{font-family:"Cantarell",sans-serif;font-weight:400;margin:10px 0}.w3-wide{letter-spacing:4px}
hr{border:0;border-top:1px solid #eee;margin:20px 0}
/*Add some spacing*/
.faq-section{
margin: 40px 0;
position: relative;
}
/*Hide the paragraphs*/
.faq-section p{
display: none;
}
/*Hide the checkboxes */
.faq-section input{
position: absolute;
z-index: 2;
cursor: pointer;
opacity: 0;
display: none\9; /* IE8 and below */
margin: 0;
width: 100%;
height: 36px;
}
/*Show only the clipped intro */
.faq-section label+p{
display: block;
color: #999;
font-size: .85em;
transition: all .15s ease-out;
/* Clipping text */
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
/*If the checkbox is checked, show all paragraphs*/
.faq-section input[type=checkbox]:checked~p{
display: block;
color: #444;
font-size: 1em;
/* restore clipping defaults */
text-overflow: clip;
white-space: normal;
overflow: visible;
}
/*Style the label*/
.faq-section label{
font-size: 1.2em;
background: #eee;
display: block;
position: relative;
height: 20px;
padding: 7px 10px;
font-weight: bold;
border: 1px solid #ddd;
border-left: 3px solid #888;
text-shadow: 0 1px 0 rgba(255,255,255,.5);
transition: all .15s ease-out;
}
/*Remove text selection when toggle-ing*/
.faq-section label::selection{
background: none;
}
.faq-section label:hover{
background: #f5f5f5;
}
/*If the checkbox is checked, style the label accordingly*/
.faq-section input[type=checkbox]:checked~label{
border-color: #1d4969;
background: #f5deb4;
background-image: linear-gradient(to bottom, #fff, #42aaf5);
box-shadow: 0 0 1px #1d4969;
}
/*Label's arrow - default state */
.faq-section label::before{
content: '';
position: absolute;
right: 4px;
top: 50%;
margin-top: -6px;
border: 6px solid transparent;
border-left-color: inherit;
}
/*Update the right arrow*/
.faq-section input[type=checkbox]:checked~label::before{
border: 6px solid transparent;
border-top-color: inherit;
margin-top: -3px;
right: 10px;
}