Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 24 additions & 4 deletions iron-comments/index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,39 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title> Iron Comments </title>

<link rel="stylesheet" type="text/css" href="./styles/style.css">
</head>

<body>

<form id="form-container">
Name: Email: Comment: Receive email updates? Submit
<form id="form-container" action="#" method="post">
<!-- Name: Email: Comment: Receive email updates? Submit -->
<fieldset>
<label for="name" class="name">Name:</label> <br>
<input id="name" type="text" size="23" class="name">
</fieldset>
<fieldset>
<label for="email">Email:</label> <br>
<input id="email" type="email" size="23">
</fieldset>
<fieldset class="comment-field">
<label for="comment">Comment:</label> <br>
<textarea id="comment" type="text" cols="21" rows="12"></textarea>
</fieldset>
<fieldset class="email-updates">
<label for="updates" class="email-updates-lable"><i>Receive email updates?</i></label>
<input type="checkbox" name="emailUpdates" id="updates">
</fieldset>
<input type="submit" class="submit-input">
</form>

</body>

</html>
58 changes: 56 additions & 2 deletions iron-comments/styles/style.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,65 @@
/* Colors

Dark Blue: rgb(25, 33, 41)
Light Blue: rgb(67, 163, 230)
Text: rgb(255,255,255) */
* {
padding: 0;
margin: 0;
}

body {
padding: 0;
margin: 0;
padding-top: 100px;
width: 100vw;

width: 100vw;
background-color: rgb(25, 33, 41);
font-size: 15px;
}

#form-container {
margin: auto;
width: 250px;
border: 2px solid rgb(67, 163, 230);
border-radius: 2px;
color: white;
box-sizing: border-box;
padding: 20px 25px;
}

fieldset {
border: none;
margin: 5px 0px;
}

label {
letter-spacing: 0.3px;
}

input, textarea {
border: 1px solid rgb(67, 163, 230);
margin-top: 3px;
}

.comment-field {
margin-bottom: 0;
}

.email-updates {
margin: 0;
}

.email-updates-lable {
letter-spacing: 0px;
}

.submit-input {
border-radius: 10px;
background-color: rgb(67, 163, 230);
border: none;
color: white;
padding:5px;
font-weight: 300;
/* letter-spacing: 0.2px; */
/* margin: 0; */
}