include provided styling for guestbook. edit filepaths for guestbook
This commit is contained in:
parent
fe0d1095bc
commit
893536a5b6
|
@ -1,8 +1,8 @@
|
|||
<section>
|
||||
<h1>Guestbook</h1>
|
||||
<p>Welcome to my guestbook!</p>
|
||||
<p><a href="index.php" class="btn">View guestbook</a>
|
||||
<a href="sign.php" class="btn">Sign guestbook</a></p>
|
||||
<p><a href="../../guestbook/index.php" class="btn">View guestbook</a>
|
||||
<a href="../../guestbook/sign.php" class="btn">Sign guestbook</a></p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<section>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="../../style/style.css">
|
||||
<link rel="stylesheet" href="../../style/guestbook.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
:root {
|
||||
--pagebg:#232c2f;
|
||||
--pagecolor:#DCD7C9;
|
||||
--border: #5b7e81;
|
||||
}
|
||||
|
||||
ul.pages {
|
||||
list-style:none;
|
||||
margin:auto;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
ul.pages li { display:inline; }
|
||||
|
||||
ul.pages li a, ul.pages li.active {
|
||||
font-size: 1.2rem;
|
||||
border: 1px solid var(--border);
|
||||
padding:5px;
|
||||
margin:2px;
|
||||
transition:0.5s ease;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
ul.pages li.page a:hover {
|
||||
background:var(--pagecolor);
|
||||
color:var(--pagebg);
|
||||
transition:0.5s ease;
|
||||
}
|
||||
|
||||
ul.pages li.page a {
|
||||
background: var(--pagebg);
|
||||
color: var(--pagecolor);
|
||||
}
|
||||
|
||||
ul.pages li.active {
|
||||
background:var(--pagecolor);
|
||||
color:var(--pagebg);
|
||||
}
|
Loading…
Reference in New Issue