Graphics in SVG-format for use in web based programs. Developed especially for use in My Little Forum.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
LICENSE
README.md

README.md

mlf-svg-icons

Graphics in SVG-format for use in web based programs. Developed is it especially for use in the theme Responsive 1 for My Little Forum. One can use it for other themes and also for completely different software.

The project and testing forum resides under www.projekt-mlf.de/forum.

The set looks in it's first steps more or less similar to the set Silk Icons, that is used in the default theme of My Little Forum 2. To state it: it is no copy of Silk Icons theme. A refinement to get an independent style is a task for the time, the set is feature complete.

This is no attempt to compete against the well known established and mature icon sets. It's an attempt to make the look of my own theme for My Little Forum distinguishable from the many other pages, that uses these icon sets. As a welcomed side effect most of the icons of this set are in contrast to the wide used icon-font-sets, which are normally singlecoloured per icon, varicoloured.

Inclusion of the images

As an example for the inclusion with CSS as background image let's look at a link with the background image in front of the link text.

<!-- the HTML source-->
<a class="reload" href="index.html">reload the page</a>

/* the corresponding CSS rules */
a.reload {
	padding-left: 1em;
	background-image: url(images/reload.svg);
	background-repeat: no-repeat;
	background-size: 1em 1em;
	background-position: 0 center;
}

A further example shows the inclusion of an icon image as a HTML element. The attributes width and height sets the default size of 24x24 pixels because the images in itself have the size of 128x128 pixels. The size set with the attributes will be overwritten with CSS to make the page responsive.

The CSS defines the rules in the mobile first style. Show the icon with a size of 1.25em as the default for mobile devices and in wider screens a bit smaller to make it matching with a fictional running text. That's the idea of the example.

<!-- the HTML source-->
<img src="images/reload.svg" width="24" height="24" alt="reload the page">

/* the corresponding CSS rules */
img[src='images/reload.svg'] {
	width: 1.25em;
	height: 1.25em;
}

@media screen and (min-width: 44em) {
	img[src='images/reload.svg'] {
		width: 1.1em;
		height: 1.1em;
	}
}