summaryrefslogtreecommitdiffstats
path: root/css/base.scss
blob: c89257ac2ecfad744c997f1b7fe368392f009905 (plain)
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
@charset "utf-8";
body {
    padding-top: 80px;
}

.container {
    max-width: 970px;
}

/* index.liquid *******************************************/

#blurb {
    padding-top: 40px;
    p {
        font-size: 1.9em;
    }
    .btn-group {
        margin: 4px;
    }
}

#multiblurb {
    line-height: 1.7;
    text-align: center;
    font-size: 12pt;
    code {
        border: 0;
        font-size: 12pt;
    }
}

#news {
    font-size: 12pt;
    .date {
          font-style: italic;
    }
}

/* default.liquid *****************************************/

.tutorial-example {
    position: relative;
    margin-bottom: 10px;
    pre {
        margin-bottom: 0px;
    }
    a {
        position: absolute;
        top: 0px;
        right: 0px;
        padding: 15px 8px;
        color: #777777;
        font-weight: bold;
        line-height: 10px;
        font-size: 12px;
        border-left: 1px solid #DDDDDD;
        display: block;
    }
    .accordion-body pre {
        margin: 0 4px;
        border-top: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}

@media print {
    .tutorial-example a {
        display: none;
    }
}

/* manual.liquid ******************************************/

h3 code {
    border: 0;
    font-size: 20px;
}

section {
    /* Adjust spacing so that anchors are not hidden behind nav bar */
    position: relative;
    top: -50px;
    padding-top: 50px;
    margin-bottom: -50px;
    h2 {
        margin-top: 50px;
    }
    h3 {
        margin-top: 32px;
    }
}

@media(max-width: 991px){
    #navcolumn {
        /* Put nav column above manual content */
        position: relative !important;
        margin-bottom: 60px;
    }
}

@media(min-width: 992px) {
    #manualcontent {
        /* Put nav column left of manual content */
        padding-left: 280px;
    }
}

.nav-pills {
    li a {
        padding: 8px 12px;
    }
    margin-bottom: 20px;
}

.manual-example table {
    border-top: 1px solid #E5E5E5;
    td {
        white-space: pre-wrap;
        font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
    }
    td.jqprogram {
        font-weight: bold;
    }
    th {
        text-align: right;
        padding-right: 10px;
    }
}

@media print {
    #navcolumn {
        display: none !important;
    }
    .manual-example {
        display: block !important;
        height: auto !important;
    }
    .jqplay-btn {
        display: none !important;
    }
}

/* shared/_footer.liquid **********************************/

footer {
    background-color: #F5F5F5;
    padding: 20px 0;
    margin-top: 40px;
    color: #999999;
    text-align: center;
    p {
        margin: 8px 0;
    }
}

/* typeahead **********************************************/

.twitter-typeahead {
    width: 100%;
}

.tt-menu {
    width: 100%;
    padding: 8px 0;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 8px;
       -moz-border-radius: 8px;
            border-radius: 8px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
       -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
            box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
    padding: 3px 20px;
    &:hover {
        cursor: pointer;
        color: #fff;
        background-color: #446e9b;
    }
    &.tt-cursor {
        color: #fff;
        background-color: #446e9b;
    }
    p {
        margin: 0;
    }
}