testing icon stuff

master
BodgeMaster 2020-02-24 05:01:44 +01:00
parent 7ca598e92e
commit f70edaaf6f
2 changed files with 14 additions and 9 deletions

View File

@ -13,7 +13,7 @@ session_start();
<body> <body>
<ul class="topnav"> <ul class="topnav">
<li><a class="active" href="%CONTENT_DIR%/"> <li><a class="active" href="%CONTENT_DIR%/">
<img src="%CONTENT_DIR%/img/ThreadR_Home.svg" alt="Home" height="10"/> <img src="%CONTENT_DIR%/img/ThreadR_Home.svg" alt="Home" class="available_space"/>
</a></li> </a></li>
<!-- <li><a class="dropdown"> <!-- <li><a class="dropdown">
<button class="dropbtn">News <button class="dropbtn">News

View File

@ -87,20 +87,28 @@ div.round-border {
border-radius: 16px; border-radius: 16px;
} }
img {
max-width: 100%;
}
img.available_space {
object-fit: contain;
}
div.image_container { div.image_container {
border: 1px solid; border: 1px solid;
padding: 0.5em 0.5em; padding: 0.5em 0.5em;
background-color: #F0F0F0; background-color: #F0F0F0;
} }
div.margin {
margin: 20px;
}
p.image_container { p.image_container {
font-size: 0.8em; font-size: 0.8em;
} }
div.margin {
margin: 20px;
}
body { body {
margin: 0px; margin: 0px;
background-color: #fef6e4; background-color: #fef6e4;
@ -168,9 +176,6 @@ span.name {
span.comment { span.comment {
color: #888A85; color: #888A85;
} }
img {
max-width: 100%;
}
ul.topnav { ul.topnav {
list-style-type: none; list-style-type: none;