summaryrefslogtreecommitdiff
path: root/assets/css/src/header.css
blob: f4903128b22d7ef78eafb2a5f3a68a152740e14c (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
/* header */
header {
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dedede;
}

header h1 {
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70%;
    float: left;
}

header ul {
    text-align: right;
    font-size: 0.9em;
}

header li {
    display: inline;
    padding-left: 30px;
}

header a {
    color: #777;
    text-decoration: none;
}

nav .active a {
    color: #333;
    font-weight: bold;
}

/* logo */
.logo a {
    opacity: 0.5;
    color: #d40000;
}

.logo span {
    color: #333;
}

.logo a:hover {
    opacity: 0.8;
    color: #333;
}

.logo a:focus span,
.logo a:hover span {
    color: #d40000;
}

/* user links on the left */
header .user-links .dropdown {
    margin-left: 15px;
}

/* title tooltip */
header h1 .tooltip {
    opacity: 0.3;
    font-size: 0.6em;
}

/* page header */
.page-header {
    margin-bottom: 20px;
}

.page-header h2 {
    margin: 0;
    padding: 0;
    font-size: 1.4em;
    font-weight: bold;
    border-bottom: 1px dotted #ccc;
}

.page-header h2 a {
    color: #333;
    text-decoration: none;
}

.page-header h2 a:focus,
.page-header h2 a:hover {
    color: #aaa;
}

.page-header ul {
    text-align: left;
    margin-top: 5px;
    display: inline-block;
}

.menu-inline li,
.page-header li {
    display: inline;
    padding-right: 15px;
    font-size: 0.95em;
}

.page-header li.active a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.page-header li.active a:hover,
.page-header li.active a:focus {
    text-decoration: underline;
}

.menu-inline {
    margin-bottom: 5px;
}

@media only screen and (max-width: 640px) {
    .page-header-mobile li {
        display: block;
        margin-bottom: 5px;
    }
}