Skip to content

Commit 6e535b8

Browse files
committed
sync css w/ openssh
1 parent c35869b commit 6e535b8

File tree

7 files changed

+31
-34
lines changed

7 files changed

+31
-34
lines changed

openiked/goals.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>OpenIKED Goals</title>
66
<meta name="description" content="OpenIKED Goals">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
8-
<link rel="stylesheet" type="text/css" href="/openbsd.css">
8+
<link rel="stylesheet" type="text/css" href="openbsd.css">
99
<link rel="canonical" href="https://www.openiked.org/goals.html">
1010

1111
<h2 id=OpenBSD>

openiked/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="description" content="the main OpenIKED page">
66
<link rel="shortcut icon" href="favicon.ico" TYPE="image/x-icon">
77
<link rel="canonical" href="https://www.openiked.org/">
8-
<link rel="stylesheet" href="/openbsd.css">
8+
<link rel="stylesheet" href="openbsd.css">
99

1010
<table id="project-main" class="not-openbsd">
1111
<tr class="align-top">

openiked/manual.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>OpenIKED Manual Pages</title>
66
<meta name="description" content="OpenIKED Manual Pages">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
8-
<link rel="stylesheet" type="text/css" href="/openbsd.css">
8+
<link rel="stylesheet" type="text/css" href="openbsd.css">
99
<link rel="canonical" href="https://www.openiked.org/goals.html">
1010

1111
<h2 id=OpenBSD>

openiked/openbsd.css

Lines changed: 25 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $OpenBSD: openbsd.css,v 1.1 2020/08/03 17:46:19 tobhe Exp $ */
1+
/* $OpenBSD: openbsd.css,v 1.2 2020/08/03 18:07:52 tobhe Exp $ */
22

33
:root {
44
--red: #E00000;
@@ -62,54 +62,53 @@ tt {
6262

6363
/* sidebar layout */
6464

65-
#project-main body {
65+
#project-main {
6666
height: 100%;
67-
max-width: 100%;
67+
border-collapse: collapse;
6868
position: absolute;
6969
bottom: 0;
7070
left: 0;
7171
right: 0;
7272
top: 0;
73-
display: table;
74-
padding: 0;
75-
margin: 0;
7673
}
7774

78-
#project-main nav,
79-
#project-main article,
80-
#project-main figure,
81-
#project-main aside {
82-
display: table-cell;
75+
#project-main td {
8376
padding: 4px;
8477
}
8578

86-
#project-main nav,
87-
#project-main figure {
79+
#project-main tr td:first-child {
8880
border-right: 11px solid;
81+
}
82+
83+
#project-main tr td:first-child {
84+
background-color: #6BBDD6;
85+
border-color: #007B9C;
86+
}
87+
88+
#project-main.not-openbsd tr td:first-child {
8989
background-color: #6BBDD6;
9090
border-color: #007B9C;
9191
}
9292

93-
#project-main nav header {
93+
#project-main tr td:first-child h1 {
9494
margin: 0;
9595
font-size: 15pt;
96-
font-weight: bolder;
9796
white-space: nowrap;
9897
}
9998

100-
#project-main nav ul {
99+
#project-main tr td:first-child ul {
101100
margin-top: 0;
102101
margin-bottom: 1em;
103102
padding-left: 0;
104103
}
105104

106-
#project-main nav li {
105+
#project-main tr td:first-child ul li {
107106
list-style-type: none;
108107
list-style-position: inside;
109108
margin-left: 0.5em;
110109
}
111110

112-
#project-main article h2 {
111+
#project-main .header {
113112
margin: 0;
114113
text-align: center;
115114
}
@@ -125,17 +124,11 @@ tt {
125124
font-weight: normal;
126125
}
127126

128-
#project-main main,
129-
#project-main footer {
130-
display: table-row;
131-
}
132-
133-
#project-main nav {
127+
#project-main .align-top {
134128
vertical-align: top;
135129
}
136130

137-
#project-main figure,
138-
#project-main aside {
131+
#project-main .align-bottom {
139132
vertical-align: bottom;
140133
}
141134

@@ -307,8 +300,12 @@ tt {
307300
text-decoration-color: #BAD7FF;
308301
}
309302

310-
#project-main nav,
311-
#project-main figure {
303+
#project-main tr td:first-child {
304+
background-color: #202F51;
305+
border-color: #97BADB;
306+
}
307+
308+
#project-main.not-openbsd tr td:first-child {
312309
background-color: #202F51;
313310
border-color: #97BADB;
314311
}

openiked/papers.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>OpenIKED related presentations and papers</title>
66
<meta name="description" content="OpenIKED related papers and presentations">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
8-
<link rel="stylesheet" type="text/css" href="/openbsd.css">
8+
<link rel="stylesheet" type="text/css" href="openbsd.css">
99
<link rel="canonical" href="https://www.openiked.org/papers.html">
1010

1111
<h2 id=OpenBSD>

openiked/security.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>OpenIKED Security</title>
66
<meta name="description" content="OpenIKED advisories">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
8-
<link rel="stylesheet" type="text/css" href="/openbsd.css">
8+
<link rel="stylesheet" type="text/css" href="openbsd.css">
99
<link rel="canonical" href="https://www.openiked.org/security.html">
1010

1111
<h2 id=OpenBSD>

openiked/users.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>OpenIKED Testimonials</title>
66
<meta name="description" content="OpenIKED Testimonials">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
8-
<link rel="stylesheet" type="text/css" href="/openbsd.css">
8+
<link rel="stylesheet" type="text/css" href="openbsd.css">
99
<link rel="canonical" href="https://www.openiked.org/users.html">
1010

1111
<h2 id=OpenBSD>

0 commit comments

Comments
 (0)