commit
0eca3a9e22
@ -0,0 +1,60 @@ |
|||||||
|
html { |
||||||
|
font-size: 62.5%; |
||||||
|
font-family: Verdana, Geneva, Tahoma, sans-serif; |
||||||
|
} |
||||||
|
|
||||||
|
* { |
||||||
|
box-sizing: border-box; |
||||||
|
} |
||||||
|
|
||||||
|
body { |
||||||
|
font-size: 1.8rem; |
||||||
|
line-height: 1.618; |
||||||
|
color: #ebdbb2; |
||||||
|
background-color: #282828; |
||||||
|
padding: 13px; |
||||||
|
} |
||||||
|
|
||||||
|
.header { |
||||||
|
text-align: center; |
||||||
|
border-bottom: 3px solid #3c3836; |
||||||
|
} |
||||||
|
|
||||||
|
.leftcolumn { |
||||||
|
float: left; |
||||||
|
width: 100%; |
||||||
|
} |
||||||
|
|
||||||
|
.rightcolumn { |
||||||
|
float: left; |
||||||
|
width: 25%; |
||||||
|
padding-left: 20px; |
||||||
|
} |
||||||
|
|
||||||
|
.fakeimg { |
||||||
|
background-color: #aaa; |
||||||
|
width: 100%; |
||||||
|
padding: 20px; |
||||||
|
} |
||||||
|
|
||||||
|
.row { |
||||||
|
max-width: 60em; |
||||||
|
margin: auto; |
||||||
|
} |
||||||
|
|
||||||
|
.card { |
||||||
|
transition: background-color 0.2s ease-in; |
||||||
|
background-color: #282828; |
||||||
|
padding: 20px; |
||||||
|
margin-top: 20px; |
||||||
|
} |
||||||
|
|
||||||
|
.card:hover { |
||||||
|
background-color: #665c5420; |
||||||
|
} |
||||||
|
|
||||||
|
.row:after { |
||||||
|
content: ""; |
||||||
|
display: table; |
||||||
|
clear: both; |
||||||
|
} |
@ -0,0 +1,33 @@ |
|||||||
|
<!DOCTYPE html> |
||||||
|
<html> |
||||||
|
|
||||||
|
<head> |
||||||
|
<title>nick</title> |
||||||
|
<link rel="stylesheet" href="index.css"> |
||||||
|
</head> |
||||||
|
|
||||||
|
<body> |
||||||
|
<div class="header"> |
||||||
|
<h2>nick</h2> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="row"> |
||||||
|
<div class="leftcolumn"> |
||||||
|
<!-- <div class="card"> |
||||||
|
<h2>Under construction</h2> |
||||||
|
</div> --> |
||||||
|
<div class="card"> |
||||||
|
<h2>TITLE HEADING</h2> |
||||||
|
<h5>Title description, Oct 19, 2022</h5> |
||||||
|
<p>Some text...</p> |
||||||
|
</div> |
||||||
|
<div class="card"> |
||||||
|
<h2>TITLE HEADING</h2> |
||||||
|
<h5>Title description, Sep 9, 2022</h5> |
||||||
|
<p>Some text...</p> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</body> |
||||||
|
|
||||||
|
</html> |
Loading…
Reference in new issue